Explain Copy Constructor.
Page 1 of 1
Explain Copy Constructor.
It is a constructore which initializes it's object member variable with another object of the same class. If you don't implement a copy constructor in your class, the compiler automatically does it.
Similar topics
» What is copy constructor?
» What is copy constructor?
» Difference between a copy constructor and an assignment operator.
» Difference between a copy constructor and an assignment operator.
» When do you call copy constructors?
» What is copy constructor?
» Difference between a copy constructor and an assignment operator.
» Difference between a copy constructor and an assignment operator.
» When do you call copy constructors?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum