Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 14 - No. 14)

In the `CASE OF` structure, what happens if none of the cases match the expression?
The first case is executed.
The last case is executed.
The default option is executed (if present).
The program terminates with an error.

Explanation

If no case matches, the 'otherwise' or default case (if provided) is executed.

Comments (0)

Advertisement