I am wondering as to why when converting strings to int with either atoi or strtol it does not print the number 0 if its the first index, take this code for example
char s[] = "0929784";
long temp = strtol(s, NULL, 10);
printf("%li", temp);
OUTPUT: 929784
is there a way to have the 0 print?