Examveda

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: Option D


Join The Discussion

Related Questions on Functions and Procedures in C plus plus