what is the difference among a copy constructor


What is the difference among a copy constructor and an overloaded assignment operator?

Ans) A copy constructor constructs a latest object by using the content of the argument object. An overloaded assignment operator assigns the contents of an existing object to another existing object of the similar class.             

 

 

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: what is the difference among a copy constructor
Reference No:- TGS0413067

Expected delivery within 24 Hours