<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Constant Type</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/14698/constant-type</link><description> Hi All,, 
 
I could not understand about what is meant by Type of a constant data type ?? forexample why is it needed to write a constatnt like 0x123455678L .. what does this trailing L means ?? 
What are the other trailers for Constants ?? 
 
Thankzz</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Constant Type</title><link>https://community.arm.com/thread/110025?ContentTypeID=1</link><pubDate>Tue, 28 May 2002 13:31:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8afc1a22-b944-4d6e-995b-d98f674c995f</guid><dc:creator>Andrew Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;at times i have found such quick and accurate information on these forums that would be hard to find it books.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You need to read a good book (preferably, books) to lay a solid foundation on which to build your programming skill.&lt;br /&gt;
By all means ask questions here, but don&amp;#39;t skimp on those foundations!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant Type</title><link>https://community.arm.com/thread/95057?ContentTypeID=1</link><pubDate>Tue, 28 May 2002 12:13:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:432f462e-b740-43c7-b207-652d30e90d25</guid><dc:creator>rocknmoon rock</dc:creator><description>&lt;p&gt;HUmm,, interesting..&lt;br /&gt;
&lt;br /&gt;
Thanks for the help.&lt;br /&gt;
&lt;br /&gt;
About readingthe C book.. i can tell you that at times i have found such quick and accurate information on these forums that would be hard to find it books.&lt;br /&gt;
&lt;br /&gt;
Thanks again.&lt;br /&gt;
Bye.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant Type</title><link>https://community.arm.com/thread/54427?ContentTypeID=1</link><pubDate>Tue, 28 May 2002 06:56:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:058a8233-7a6d-40df-af1d-9e40c6bc4bb4</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;Thus you can avoid type casting of a constant.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
More importantly, you can avoid the default &amp;#39;C&amp;#39; types giving you unexpected results! Remember, &amp;#39;C&amp;#39; assumes that everyting is an &lt;b&gt;int&lt;/b&gt; unless explicitly told otherwise!&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;why not read a book on C?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Quite right: this is a &amp;#39;C&amp;#39; language issue - nothing &lt;i&gt;specifically&lt;/i&gt; to do with Keil!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Constant Type</title><link>https://community.arm.com/thread/38781?ContentTypeID=1</link><pubDate>Tue, 28 May 2002 05:19:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:979db9cb-a628-4001-888a-5016aa294b3e</guid><dc:creator>Mik Kleshov</dc:creator><description>&lt;p&gt;&lt;i&gt;EVERY&lt;/i&gt; operand in an expression has a type. Since constants are always used as parts of expressions, they must have a type. Suffixes like U, L, F specify the type of the constant which can be different from that without suffix. Thus you can avoid type casting of a constant.&lt;br /&gt;
Actually, why not read a book on C?&lt;br /&gt;
- Mike&lt;br /&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>