ExamPlay Light Logo
Zalogować się

Computer Science for IGCSE & O level - Programming (Section 1 - No. 40)

Which variable(s) are likely to be declared as global variables?
StudentTotal
ClassName
SubjectTotal
Mark

Wyjaśnienie

Global variables are accessible from anywhere in the program. In the code examples, variables like ClassName and student-related totals would likely be global, whereas Mark is only used within inner loops.

Uwagi (0)

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