Report Bug
Qus : Which of the following correctly describes the switch statement in C?
QusWhich of the following correctly describes the switch statement in C?

A. It allows the use of multiple alternatives for an expression
B. It is used to execute code conditionally based on the evaluation of a Boolean expression
C. It is used to execute a sequence of statements multiple times
D. It allows the execution of code based on multiple expressions


Solution
A. It allows the use of multiple alternatives for an expression






Report Bug