Sollicitatievraag bij Microsoft

Phone interview question: Describe how you would implement the C standard library function atoi.

Antwoord op sollicitatievraag

Anoniem

5 mei 2009

I've actually implemented this many time, so it was pretty straightforward to me. Make sure you define your loop to cover your corner cases, and don't forget about negative numbers!