Answer Posted / srikanth kanchari
Copy constructor is created by the compiler if you dont
Create, but it does shallow Copy of the Object so there is
a need to create a copy constructor by the Developer to
make deep copy of the object.
Normally it will be
Class A
{
A();
A(A&);// copy constructor
};
Is This Answer Correct ? | 19 Yes | 7 No |
Post New Answer View All Answers
What apps are written in c++?
Explain rtti.
What is a standard template library (stl)? What are the various types of stl containers?
Who created stl?
What is stl in c++ with example?
Explain static and dynamic memory allocation with an example each.
What is an incomplete type in c++?
which feature are not hold visual basic of oop?
Explain what happens when a pointer is deleted twice?
Which operations are permitted on pointers?
How long it will take to learn c++?
what are the decision making statements in C++? Explain if statement with an example?
Is c++ a difficult language?
Out of fgets() and gets() which function is safe to use and why?
What is the real life example of polymorphism?