A question on call by value, call by name, call by reference. f(x,y,z) { y := y+1; z := z+x; } main() { int a,b; a := 2 b := 2; f(a+b,a,a); print a; } What is the value of a printed for three different calls in main?

Showing Answers 1 - 4 of 4 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions