Page 1 of 1

When a copy constructor is called?

Posted: Wed Jul 13, 2022 7:52 pm
by answerhappygod
a) When an object of the class is returned by value
b) When an object of the class is passed by value to a function
c) When an object is constructed based on another object of the same class
d) All of the mentioned