1.

Assume that the program ‘P’ is implementing parameter passing with ‘call by reference’. What will be printed by following print statements in P?Program P(){x = 10;y = 3;funb (y, x, x)print x;print y;}funb (x, y, z){y = y + 4;z = x + y + z;}

A. 10, 7
B. 31, 3
C. 10, 3
D. 31, 7
Answer» C. 10, 3


Discussion

No Comment Found