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.
#include <stdio.h>
#include <stdlib.h>
int main (void)
{
int i = atoi (" bl149");
printf("%d\n", i);
return 0;
}