LearnFrenzy
Sign in Take a free test

Control Flow Statements · Control Flow MCQ · Question 11

break versus continue Answer, explanation & discussion

  • MCQ
  • Easy
  • 0 comments
  • Answer explained
  • Moderated community
Question 11 Back to Exercise

What does continue do inside a loop?

  • A Leaves the loop
  • B Skips the rest of the current iteration and goes to the next one Correct
  • C Restarts the loop from the beginning
  • D Pauses the loop
Correct Answer: Option B

break leaves the loop entirely.

Discussion & Comments 0

Share your method, a shortcut, or ask about a step you didn't follow.

No comments yet. Be the first to share your solution!

Post your comment

Comments appear after a quick review by our team.

Search LearnFrenzy

Esc

Quick links