Google News
logo
CPP - Quiz(MCQ)
Which is used to pass the large objects in c++?
A)
pass by value
B)
pass by reference
C)
pass by name
D)
both pass by value & reference

Correct Answer :   pass by reference


Explanation : Because by using pass by reference we need to pass only address location, So it can save a lot of memory.

Advertisement