Home / Questions / In a switch statement, what will happen if a break statement is omitted?
Explanatory Question

In a switch statement, what will happen if a break statement is omitted?

👁 1,693 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

If a break statement was not placed at the end of a particular case portion? It will move on to the next case portion, possibly causing incorrect output.