ExamPlay Dark Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 13 - No. 19)

What is the result if a CASE statement has no matching case, and no default (or ELSE) clause?
The program ends.
The code inside the first case is executed.
The program continues execution after the CASE block.
An error message is displayed.

Förklaring

Without a default or ELSE clause, the program will continue execution after the CASE statement if no case matches.

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc