title: How to store a integer value equal to 10^18 in c programs or c++?
body: <p>How can I store a large integer value in a variable of C ?
  If i am declaring a with <code>int a;</code> it won't work.
  I have used this with <code>long long int</code>.It is not working.</p>
  
  <pre><code>if( a&gt;=0 &amp;&amp; a &lt;= (1000000000000000000))
  </code></pre>
  
  <p>What to declare variable a so that it will not so any error.It should be integer.</p>
  
  <pre><code>Compiler error
  integer constant is too large for long type.
  </code></pre>