Ambiguous test case

programming
interview-questions
Tags: #<Tag:0x00007f1822b44268> #<Tag:0x00007f1822b44088>

#1

For atoi problem, “- 5 88C340185Q 71 8079 834617385 2898422X5297Z6900” input why is the expected output 0?


#2

Because there is a space between ‘-’ and ‘5’…