Q. Which function converts a string to an integer in C?
β
Correct Answer: (C)
atoi()
Explanation: atoi() converts ASCII strings to integer values.