Which is used to pass the large objects in c++?
A. pass by value
B. pass by reference
C. both a & b
D. None of the mentioned
Answer:A
Which is used to pass the large objects in c++?
A. pass by value B. pass by reference C. both a & b D. None of the mentioned
Explanation:Because by using pass by reference we need to pass only address location, So it can save alot of memory.