Which of the following is NOT a type of loop in C?
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.
Correct answer: (C) foreach loop
Explanation
C has three loops: for, while and do-while. There is no foreach loop in C.
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.