Question

In a switch statement (e.g., C++, Java), what happens if a break statement is omitted from a case block?

A A compilation error occurs.
B The program terminates.
C Execution "falls through" to the next case block.
D The switch statement is skipped entirely.
E The default block is always executed.
Practice Next

Hey! Ask a query