Scope Flashcards
1
Q
Scope of a variable
A
- the region in a program where a variable has a meaning
2
Q
Scope of a global variable
A
- a variable whose region is the entire program
3
Q
Scope of a parameter
A
- limited to the entire procedure body
4
Q
Local variable
A
- a variable whose scope is limited to a region within the procedure body