ExamPlay Light Logo
Zalogować się

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

Which of the following best describes a global variable?
It is only accessible within the procedure it is declared in.
It can be used by any part of the program.
It is declared inside a function.
It has a limited scope within a specific code block.

Wyjaśnienie

A global variable can be accessed from anywhere within the program.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc