What is Copy Constructor?

Answer Posted / sanjay gupta

COPY CONSTRUCTOR IS A SPECIAL CONSTRUCTOR IN C++ PROGRAMMIN
LANGUAGE FOR CREATING A NEW OBJECT AS A COPY OF AN EXISTING
OBJECT

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you explain polymorphism?

580


How new/delete differs from malloc()/free?

602


Who invented oop?

641


What is the use of dot in c++?

612


What is data type in c++?

543






What are the general quetions are in DEna bank manager IT/System interviews?

1529


What is the purpose of polymorphism?

664


How do you achieve polymorphism?

603


What is latest update of C++ ?

565


Explain the operation of overloading of an assignment operator.

681


What is the basic concept of c++?

566


What is stoi in c++?

690


Can we define a constructor as virtual in c++?

596


What does the nocreate and noreplace flag ensure when they are used for opening a file?

665


Can a destructor be called directly?

590