Which of the following best describes Variable scope?
- A. The region of a program where a declared variable can be accessed. ✓
- B. The process of translating source code written in a high-level language into machine code before execution.
- C. A variable that stores the memory address of another variable.
- D. A named storage location in memory that holds a value which can change during program execution.
Correct answer
A. The region of a program where a declared variable can be accessed.
Explanation
Variable scope refers to the region of a program where a declared variable can be accessed.