Intel Corporation Interview Question

write your own atoi in C