title: Determining if *char < INT_MAX
body: <p>I got this code:</p>
  
  <pre><code>char a[151];
  scanf ("%150s", a);
  </code></pre>
  
  <p>In <code>a</code> could be a number and if so, I need to determine, if <code>a &lt; INT_MAX</code>. I don't know, how to do that, because in each index of <code>a</code> char could be a number, it means 150-digit number which could cause overflow if I store a value into some int or anything else. Any suggestions?</p>