1. Home
  2. Computer Science MCQs
  3. C Programming
  4. Which header file must be included to use printf() and…

Added 30 Nov -0001

Which header file must be included to use printf() and scanf()?

  1. stdlib.h
  2. string.h
  3. math.h
  4. stdio.h Correct answer

Correct answer

D. stdio.h

15 views

MCQSEXAM

Explanation

The standard input/output functions are declared in stdio.h.

Reference

Asked in: NTS, PPSC IT, Campus Interviews

Preparing for an exam?

Doubts & discussion

Not sure why the answer is D? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More C Programming MCQs

Practise all C Programming MCQs

Similar MCQs