Which header file must be included to use the printf() and scanf() functions ?
Answer: C
Correct answer: stdio.h
The standard input and output declarations, including printf and scanf, live in stdio.h. stdlib.h provides memory allocation and conversion routines, string.h the string handling functions and math.h the mathematical ones.
Please log in or register to report this question.