Convert a String to Integer in C - Delft Stack
www.delftstack.com › howto › cNov 16, 2020 · atoi () Function to Convert a String to an Integer in C The atoi () function converts a string into an integer in the C programming language. The atoi () function neglects all white spaces at the beginning of the string, converts the characters after the white spaces, and then stops when it reaches the first non-number character.