title: Convert string of a hex value to integer
body: <p>How can I convert the string <code>0x26B70A40</code> to an <code>int</code> in c?</p>
  
  <pre><code>const char s[13] = "0x26B70A40";
  int x = someFunction(s);
  printf("%d\n", x);
  </code></pre>
  
  <p>That should print <code>649529920</code>.</p>