Question d’entretien chez Microsoft

Implement atoi which converts a string to an integer.