SpanIdea interview question

Atoi() function