Answer Posted / hrpynux@gmail.com
A copy constructor is called when an object is passed by value. Copy constructor itself is a function. So if we pass an argument by value in a copy constructor, a call to copy constructor would be made to call copy constructor which becomes a non-terminating chain of calls.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Which programming language is best?
Is there structure in c++?
What are c++ storage classes?
What is c++ code?
Explain what you mean by a pointer.
Why iomanip is used in c++?
Explain linear search.
What is #include iostream in c++?
What things would you remember while making an interface?
How can an improvement in the quality of software be done by try/catch/throw?
What are dynamic type checking?
How does work in c++?
Can you please explain the difference between using macro and inline functions?
Describe the process of creation and destruction of a derived class object?
What is the array and initializing arrays in c++?