Below you will find pages that utilize the taxonomy term “C”
Blog
Writing a “String to Number” Function in C
Years ago I was in a job interview where the employer took me to a whiteboard and asked me to implement atoi()
in C. They also asked me to talk about any issues with my implementation. While there is hardly any reason to implement atoi()
yourself nowadays, sometimes it’s good practice to try it anyway.