Asked by carson Southwell on May 16, 2024

verifed

Verified

Programs that use the gets() routine must include the ____ header file.

A) stdio.h
B) stdlib.h
C) string.h
D) ctype.h

Header File

In programming, a file containing declarations of functions, macros, and variables which can be included in multiple program files via preprocessor directives.

Gets()

A function that reads a line from stdin into the buffer pointed to by its argument until a newline character or EOF.

  • Identify and use the correct header files for different functions and routines.
verifed

Verified Answer

AS
Amanda SanteiroMay 17, 2024
Final Answer :
A
Explanation :
The gets() routine is used for inputting strings from the standard input (usually the keyboard) and is defined in the stdio.h header file.