Vidyalelo
C++ Programming · Q156

Functions and Procedures in C++

Programming · C++ Programming · question 156

Q156

What are the advantages of passing arguments by reference?

A.
Changes to parameter values within the function also affect the original arguments
B.
There is need to copy parameter values (i.e. less memory used)
C.
There is no need to call constructors for parameters (i.e. faster)
D.
All of the mentioned
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board