Sollicitatievraag bij Check Point Software Technologies

implement the function "atoi" (convert string to integer)

Antwoord op sollicitatievraag

Anoniem

30 aug 2021

Take each character and substract the char '0' to get the numerical value, and multiply each number in the correct power of 10 to get the actual integer