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

C Programming Language >   Decision Making of C Language >   switch case  

Short Question

1635


Answer:

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.


This Particular section is dedicated to Question & Answer only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.




Join Our telegram group to ask Questions

Click below button to join our groups.