Computer Science for IGCSE & O level - Programming (Section 5 - No. 20)

In a `CASE` statement, what determines which code block will be executed?
The order of the case statements.
The value of a controlling expression.
The length of the code block.
The variable names used.

Explanation

The CASE statement executes the code block that matches the value of a variable or expression.

Comments (0)

Advertisement