LearnFrenzy
Sign in Take a free test

Control Flow Statements · Control Flow MCQ · Question 3

What is fall-through in a switch? Answer, explanation & discussion

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

In a classic switch, what happens when a case has no break?

  • A A compile error
  • B Execution continues into the next case's statements Correct
  • C The switch restarts
  • D The default runs
Correct Answer: Option B

Arrow-style cases (->) do not fall through.

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