Join WhatsApp ChannelDaily MCQs & Exam Updates
Computer Science Medium PPSC Uploaded: 13 Aug 2026

Which loop executes at least once regardless of condition?

  • A for loop
  • B if-else
  • C do-while loop
  • D while loop
Correct Answer: Option C — do-while loop
Explanation:
A do-while loop executes its body at least once before checking the condition, unlike a while loop which checks the condition first.
Submitted by: PaperMCQs
Related MCQs