Examveda
Examveda

What is the purpose of passing arguments by reference in C++ functions?

A. Ensures the function receives correct arguments

B. Reduces the memory consumption of the function

C. Improves performance of the function

D. Allows changes made to the arguments to reflect outside the function

Answer: Option D


Join The Discussion

Related Questions on Functions and Procedures in C plus plus