+1 (845) 317-8489 [email protected]

Define lifetime, scope, static scope, and dynamic scope.

. How is a reference to a nonlocal variable in a static-scoped program
connected to its definition?

. What is the general problem with static scoping?

What is the referencing environment of a statement?

. What is a static ancestor of a subprogram? What is a dynamic ancestor
of a subprogram?