Question 24Asked in DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

Which of the following is NOT a type of loop in C?

  1. Ado-while loop
  2. Bfor loop
  3. Cforeach loop
  4. Dwhile loop
Show answerHide answer

Correct answer: (C) foreach loop

Explanation

C has three loops: for, while and do-while. There is no foreach loop in C.

From DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM)

This is question 24 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 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.