Question: C++ question. When is the copy constructor invoked? A. When an object is passed as a parameter to a function by reference B. When a
C++ question.
When is the copy constructor invoked?
A. When an object is passed as a parameter to a function by reference
B. When a function returns an object by 6 value.
C.When one object is assigned to another one.
D. All of the above.
E. None of the above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
