Question

Consider static and dynamic binding times, as discussed in lecture.
For the following, which binding time is most appropriate:
(language definition time, compiler writing time, static/compile
time, dynamic/.beginning of run time, dynamic/line execution time,
dynamic/entry to block)

a.What is the binding time for the type attribute of a local C++
pointer variable? *sometype p; new(p);*p=some value
b. What is the binding time for the value attribute of a local C++
pointer variable?
(but remember that the value of a pointer is NOT the value of
*p)
c. What is the binding time for the location attribute of a local
C++ pointer variable?
d. Fictitious language ElmTree has as part of its language
definition that pi is a reserved word, whose value is the value of
pi to 48 places. What is the binding time for the value attribute
of the ElmTree name pi?
e. What is the binding time for the type attribute of a
Lisp/Scheme/Python variable?
f. What is the binding time for the location attribute of a C
global variable?