Question: Question 3. (5 points) Consider the following pseudocode. What does the program print if the language uses static scoping? What does it print with dynamic

Question 3. (5 points) 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,-3 int main) intc 4 fun1); return 0; void fun1) int a 2, b 3; fun2(); void fun20 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
