Question: int x 2; function C(P) int x P )i 4; function D) print x function BO int x-3 C (D) BOi a) (Spt) What would

int x 2; function C(P) int x P )i 4; function D) print x function BO int x-3 C (D) BOi a) (Spt) What would it print if this language uses dynamic scoping and shallow binding? Justify your answer by showing the hierarchy of symbol tables at the print statement (assume each table contains two columns: name and type) b) (Sp) What would it print if this language uses dynamic scoping and deep binding? Justify your answer byshwing the hierarchy of symbol tables at the print statement
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
