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

Can we inherit constructor in c++?

776


State the difference between pre and post increment/decrement operations.

813


What does ios :: app do in c++?

772


How can you link a c program with a c function?

786


What are the effects after calling the delete this operator ?

798


If you want to share several functions or variables in several files maitaining the consistency how would you share it?

755


Who was the creator of c++?

768


Which operator cannot be overloaded c++?

778


How long it will take to learn c++?

795


What is the full form of oops?

904


Write a program to concatenate two strings.

782


Write a C++ Program to check whether a number is prime number or not?

853


What is a base class?

803


How long to learn object oriented programming?

801


What is object-oriented programming? Webopedia definition

942