Q:

WHY IS DEFAULT STATEMENT USED IN SWITCH CASE IN C?

belongs to collection: C INTERVIEW QUESTIONS AND ANSWERS

0

WHY IS DEFAULT STATEMENT 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 switch expression does not match with any case, default statements are executed by the program.

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
WHAT IS THE USE OF “GOTO” STATEMENT?... >>
<< WHAT WILL HAPPEN IF BREAK STATEMENT IS NOT USED IN...