What is Copy Constructor?




Answer Posted / naveen kumar

The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously.

Is This Answer Correct ?    1 Yes 0 No






Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what are the sizes and ranges of the basic c++ data types?

41


Can a function take variable length arguments, if yes, how?

48


what kind of projects are suitable for c and c++

73


Explain method of creating object in C++ ?

68


How do you define social class?

28






What is ios in c++?

27


which feature are not hold visual basic of oop?

1140


Where do I find the current c or c++ standard documents?

38


Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;

971


Is it possible to pass an object of the same class in place of object reference to the copy constructor?

65


What is the renewal class?

1588


Explain mutable storage class specifier.

44


Do class declarations end with a semicolon?

48


What is the main use of c++?

26


What language does google use?

33