aibelectronics
Member level 2
sdcc strtol
Hello! Can anybody explain how this c program would do this conversion?
char d, e[2];
.....
e[0]='0';
e[1]='1';
e[2]=d;
scale=atoi(e);
....
how would c convert d to an integer. are there some numbers representing letters in c?
thanks in advance!
Hello! Can anybody explain how this c program would do this conversion?
char d, e[2];
.....
e[0]='0';
e[1]='1';
e[2]=d;
scale=atoi(e);
....
how would c convert d to an integer. are there some numbers representing letters in c?
thanks in advance!