Discussions
jinto johnson

· started a discussion

· 1 Months ago

in pass by reference the passed value should be reference of variables

Question:

In which of the following parameter passing mechanism the actual argument has to be a variable?         

Options:
A) Pass by value          
B) Pass by result  
C) Pass by reference    
D) Both (1) and (3) above
E) None of these
Solution:

Ans: (c)  call by reference: pass a pointer to the actual parameter, and indirect through the pointer

Knowledge Expert

· commented

· 1 Months ago

Dear student,
We resolved it

Best wishes
Team TR

All Rights Reserved Top Rankers