Question: here is a pseudocode x = 40 y = 80 function fun3 (int a, int y){ a = a + y; print(a); } function fun2(int

here is a pseudocode

x = 40 y = 80

function fun3 (int a, int y){ a = a + y; print(a); }

function fun2(int x){ y = 5 fun3(x, y); }

function fun1(){ x = 5 fun2(x); }

What would be the program print with static deep, static shallow, dynamic deep and dynamic shallow?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!