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
How many namespaces are there in c++?
What is constructor in C++?
What does namespace mean in c++?
Which function cannot be overloaded c++?
What is an inline function in c++?
Define Virtual function in C++.
Can a class be static in c++?
Const char *p , char const *p What is the difference between the above two?
What is #include cmath?
what are the characteristics of Class Members in C++?
What is pointer with example?
What is expression parser in c++
Is map ordered c++?
What does it mean to declare a member function as static?
What does std :: flush do?