Question 163Asked in DSSSB TGT Computer Science, 25 Jun 2023, Shift 2 (12:30 PM)

scanf() is a predefined function in which of the following header files?

  1. Actype.h
  2. Bstdio.h
  3. Cunistd.h
  4. Dstring.h
Show answerHide answer

Correct answer: (B) stdio.h

Explanation

scanf() and printf() are standard input/output functions declared in stdio.h.

From DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 2 (12:30 PM)

This is question 163 of DSSSB TGT Computer Science PYQ, 25 Jun 2023, Shift 2 (12:30 PM). See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.