ExamPlay Light Logo
Logga in

Computer Science for IGCSE & O level - Programming (Section 2 - No. 50)

What is the scope of a local variable?
Accessible from anywhere in the program.
Accessible only within the function or block of code where it is declared.
Accessible only at the start of the program.
Accessible only at the end of the program.

Förklaring

Local variables are only available within their defined region.

Kommentarer (0)

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