Question discussion

In the switch control statement of the C program, the control falls through all the cases unless the _______ statement is given or the end…

359055Medium DSSSB TGT Computer Science 0 replies 0 views
0
In the switch control statement of the C program, the control falls through all the cases unless the _______ statement is given or the end of the switch block is reached.
  • Acontinue
  • Bbreak
  • Cfor
  • Dreturn
Correct answer: B

Explanation

Without a break statement, control falls through to the following cases in a switch.

Discussion 0

Nobody has replied yet. Start the discussion!