Asked by Alanis Matthews on May 01, 2024
Verified
Programs that use the atoi() routine must include the ____ header file.
A) stdio.h
B) stdlib.h
C) string.h
D) ctype.h
Atoi()
A function in C programming that converts a string argument to an integer type.
Header File
A file containing C or C++ declarations and macro definitions to be shared between several source files.
- Recognize and apply the appropriate header files for various functions and routines.
Verified Answer
SW
Samone WalkerMay 04, 2024
Final Answer :
B
Explanation :
The atoi() function, which converts a string to an integer, is declared in the stdlib.h header file.
Learning Objectives
- Recognize and apply the appropriate header files for various functions and routines.