Assigning objects takes place while passing the arguments.

Answer: b
Explanation: The actual assignment doesn’t take place as the object might have got passed by reference. Also even if not by reference, the copy constructor is called to copy the values into the new object and not exactly the assignment operator.
 

Tìm kiếm

Back
Top