In a switch-case structure, if a case does not have the break keyword, the subsequent cases or blocks will execute until this keyword is encountered.

  • Continue
  • End
  • Skip
  • Stop
In a switch-case structure, if a case does not have the break keyword, it will fall through to the subsequent cases or blocks until a break is encountered. The break keyword is essential to exit the switch statement once a case is matched and executed.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *