Computer Science for IGCSE & O level - Programming (Section 7 - No. 14)

What defines the scope of a variable?
The range of numbers a variable can hold.
The location of the variable in memory.
Where the variable can be accessed.
The variable's name.

Explanation

Scope controls the visibility of a variable.

Comments (0)

Advertisement