← Quiz: C Control Flow: all 10 questions
Quiz: C Control Flow · Question 4 of 10
Which loop always runs its body at least once?
Which loop always runs its body at least once?
- A.for
- B.while
- C.do-while
- D.none
Answer & explanation
Correct answer: do-while
do-while checks the condition after the body.
Can you get the rest right without peeking?
Take the timed Quiz: C Control Flow quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →