Home » C++ Programming » Overloading » Question
  1. What are the advantages of passing arguments by reference?
    1. There is no need to call constructors for parameters (i.e. faster)
    2. Changes to parameter values within the function also affect the original arguments.
    3. There is need to copy parameter values (i.e. less memory used)
    4. All of above
    5. None of these
Correct Option: D

*There is no need to call constructors for parameters (i.e. faster).
*Changes to parameter values within the function also affect the original arguments.
*There is need to copy parameter values (i.e. less memory used).



Your comments will be displayed only after manual approval.