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 is decltype c++?
Why do we use setw in c++?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
What is a tree in c++?
How many ways can a variable be initialized into in C++?
How a pointer differs from a reference?
Why main function is special in c++?
How the virtual functions maintain the call up?
What are friend functions in C++?
Are vectors passed by reference c++?
How do you sort a sort function in c++ to sort in descending order?
Can the operator == be overloaded for comparing two arrays consisting of characters by using string comparison?
Is c++ a low level language?
Differentiate between late binding and early binding. What are the advantages of early binding?
Why do we need c++?