Q:

WHAT WILL HAPPEN IF BREAK STATEMENT IS NOT USED IN SWITCH CASE IN C?

belongs to collection: C INTERVIEW QUESTIONS AND ANSWERS

0

WHAT WILL HAPPEN IF BREAK STATEMENT IS NOT USED IN SWITCH CASE IN C?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Switch case statements are used to execute only specific case statements based on the switch expression.

If we do not use break statement at the end of each case, program will execute all consecutive case statements until it finds next break statement or till the end of switch case block.

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

C INTERVIEW QUESTIONS AND ANSWERS

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
WHY IS DEFAULT STATEMENT USED IN SWITCH CASE IN C?... >>
<< WHAT IS “&” AND “*” OPERATORS IN C?...