title: Why is ATOI returning a 0 in this code?
body: <p>I'm just getting started out with C and I'm trying to learn the ATOL function. Can someone tell me why it keeps printing a 0? I know that means that the conversion can't be performed, but I'm not sure why. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  
  int main (void)
  {
      int i = atoi ("  bl149");
      printf("%d\n", i);  
      return 0;
  }
  </code></pre>