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

What is meant by the term 'scope' in the context of programming variables?
The range of numbers a variable can store.
The part of the code where a variable is visible and can be used.
The name given to a variable.
The amount of memory a variable occupies.

Explanation

Scope determines where a variable is accessible.

Comments (0)

Advertisement