Question: #11. (5 points) Consider the following skeletal C program: void funl (void); /* prototype / void fun2 (void); / prototype void fun 3 (void); /
#11. (5 points) Consider the following skeletal C program: void funl (void); /* prototype / void fun2 (void); / prototype void fun 3 (void); / prototype / void main() { int a, b, ci void funl (void) int b, c, di void fun2 (void) int c, d, e void fun 3 (void) int d, e, fi Given the following calling sequences and assuming that dynamic scoping is used, what variables are visible during the execution of the last function called? Include with each visible variable the name of the function in which it was defined. a. main calls tunl; funt calls fun2; fun2 calls fun 3. b. main calls funl; funt calls fun3. c. main calls fun2; fun2 calls fun3; fun3 calls funi. d. main calls fun3; fun3 calls unl. e. main calls funt; tun1 calls fun3; Lung calls tun2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
