Sail E0 Webinar
Question

What are the advantages of passing arguments by reference?


Options:
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

None.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers