Q. When a copy constructor may be called? (Solved)

1. When an object of the class is returned by value.

2. When an object of the class is passed (to a function) by value as an argument.

3. When an object is constructed based on another object of the same class

4. All of the above

  • d. All of the above
Subscribe Now

Get All Updates & News