1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. Which header file is required for using printf and scanf?

Added 16 Nov 2026

Which header file is required for using printf and scanf?

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

Correct answer

B. stdio.h

13 views

MCQSEXAM

Explanation

stdio.h stands for standard input/output header. It declares printf, scanf, and related functions. Without including it, the compiler will warn about undeclared functions.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

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

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs