Hi !
I have a char array that contains digits such as {'0', '1'}. I want to convrt it to an int (1) like in the following code"
Code:
 int main()
{
   char myInts[3] = {'0','2','\0'};
   int myChars = myInts;
   return 0;
}
surely
Code:
int myChars = myInts;
is an error but is there a function that can make the convertion ?
Thanks !