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
What are the uses of typedef in a program?
What is the difference between interpreters and compilers?
What is the history of c++?
What is the difference between *p++ and (*p)++ ?
What is pure virtual function?
What are friend classes?
What is double in c++?
What is a unnitialised pointer?
Explain object slicing in c++?
How can you quickly find the number of elements stored in a static array? Why is it difficult to store linked list in an array?
What is an inclusion guard?
What are mutator methods in c++?
What is the hardest coding language to learn?
What does I ++ mean in c++?
What is the prototype of printf function?