Let x be the value printed under static scoping and y be the value printed under dynamic scoping. Then x and y are
A. x = 10, y = 20
B. x = 20, y = 10
C. x = 20, y = 20
D. x = 10, y = 10
Answer:D
Let x be the value printed under static scoping and y be the value printed under dynamic scoping. Then x and y are
A. x = 10, y = 20 B. x = 20, y = 10 C. x = 20, y = 20 D. x = 10, y = 10