Does a break is required by default case in switch statement?

1 Answer(s)

Yes, if it is not appearing as the last case and if we do not want the control to flow to the following case after default if any.

Supporter Answered on August 15, 2019.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.