Question: Consider the following pseudocode. What does the program print if the language uses static scoping? What does it print with dynamic scoping? Explain. int a-1,
Consider the following pseudocode. What does the program print if the language uses static scoping? What does it print with dynamic scoping?
Explain.

int a-1, b 2, c-3; int main) intc- 4, funl) return e void funl() f int a-2, b- 3 fun2) void fun2) printf("%d %d %d", a, b, c)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
