How to declare a two value to a character and what is the code to convert a character to integer?
Is there anything that will give a shorter code, like the ATOI that will convert tghe ASCII to integer..??
Is there anything that will give a shorter code, like the ATOI that will convert tghe ASCII to integer..??
to convert character to integer
char c[5]={" hi"};
int t=atoi(c);