| | UB CSE305 Notes 6 (Site not responding. Last check: 2007-11-06) |
 | | The static scope of a variable is the block in which it is declared, plus all spatially (lexically) enclosed blocks, except those where it is shadowed by a declaration of another variable with the same name. |
 | | The dynamic scope of a variable is the block in which it is declared, plus all dynamically enclosed blocks, i.e., blocks that are executed while the block in which the variable is declared is still executing. |
 | | A stack-dynamic variable is one that is bound to an address on the stack, which is dynamically (during run-time) allocated for that purpose. |
| www.cs.buffalo.edu /~shapiro/Courses/CSE305/notes6.html (3283 words) |