Write an ascii to int converter function on a white board.
Sigiloso
int myAtoi(char *str) { int res = 0; // Initialize result // Iterate through all characters of input string and // update result for (int i = 0; str[i] != '\0'; ++i) res = res*10 + str[i] - '0'; // return result. return res; }