Which header file must be included to use printf() and scanf()?
-
A
stdlib.h
-
B
string.h
-
C
math.h
-
D
stdio.h
Correct answer
Correct answer
D. stdio.h
15 views
Explanation
The standard input/output functions are declared in stdio.h.
Reference
Asked in: NTS, PPSC IT, Campus Interviews
Doubts & discussion
Not sure why the answer is D? Ask here and get an explanation.
Ask a doubt about this MCQ