Consider the following Ada skeletal program:
Assume that the execution of this program is in the following unit order:
Main calls Subl
Subl calls Sub2
Sub2 calls Sub3
a. Assuming static scoping, in the following which declaration of X is the correct one for a reference to X? i.Subl
ii.Sub2 iii.Sub3
b. Repeat part a, but assume dynamic scoping.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.