When is the copy constructor called?

a) When is the copy constructor called? When is the destructor called? How does the copy
constructor differ from the assignment operator (=)?

Leave a Reply