What is 'Copy Constructor' and when it is called?
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 |
What is an object in c++?
How does atoi function work?
Show the declaration for a static function pointer.
Can we sort map in c++?
What is name mangling?
What is else syntax in c++?
What are punctuators in c++?
i have given a project to create examination seating plan system in c++. so can anyone send me the answer of this question quickly??????
How can you link a c++ program to c functions?
What is enum class in c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
What is function overloading in C++?