1.

Explain The Concept Of Copy Constructor?

Answer»

Copy CONSTRUCTOR is a special TYPE of parameterized constructor. It copies one OBJECT to another. It is called when an object is created and equated to an EXISTING object at the same time. An existing object is PASSED as a parameter to it.

Copy constructor is a special type of parameterized constructor. It copies one object to another. It is called when an object is created and equated to an existing object at the same time. An existing object is passed as a parameter to it.



Discussion

No Comment Found