20.2 Name Scopes
- Scope
- The part of a program where a name is visible and has meaning (sect.
5.9)
Scopes we have seen:
- Block Scope
- Any block delimited by curly braces ({}). Name is destroyed
after the closing curly brace
- Local Scope
- Special case of block scope. A function's local variables
and formal parameters have meaning only inside that function
prev
|top
|next