call by reference
GATE CSE & IT · Code Generation · 1989-2013
Study anchor
Source-book anchor pending for this concept.
Practice action
Start latest PYQPYQs in this concept
All concepts →What is the return value of f (p, p), if the value of p is initialized to 5 before the call? Note that the first parameter is passed by reference, whereas the second parameter is p...
The results returned by function under value-result and reference parameter passing conventions
What is printed by the print statements in the program P1 assuming call by reference parameter passing? Program P1() { x=10; y=3; func1(y,x,x); print x; print y; } func1(x,y,z) { y...
In which one of the following cases is it possible to obtain different results for call-by-reference and call-by-name parameter passing methods?
In which of the following cases it is possible to obtain different results for call-by-reference and call-by-name parameter passing?