Computer Science for IGCSE & O level - Programming (Section 5 - No. 10)

What does the term "variable scope" refer to in programming?
The range of values a variable can hold.
The area of the code where a variable is accessible.
The amount of memory a variable uses.
The data type of a variable.

Explanation

Variable scope defines where a variable can be used in a program.

Comments (0)

Advertisement