Google News
logo
CPP - Quiz(MCQ)
Which is more effective while calling the functions?
A)
call by reference
B)
call by pointer
C)
call by object
D)
call by value

Correct Answer :   call by reference


Explanation : In the call by reference, it will just passes the reference of the memory addresses of passed values rather than copying the value to new memories which reduces the overall time and memory use.

Advertisement