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 |
Out of fgets() and gets() which function is safe to use?
what is data abstraction in C++?
What is null pointer and void pointer and what is their use?
What is Name Decoration?
What is the full form of india?
founder of c++
7 Answers Microtek, TCS, TeleCommand,
When do we run a shell in the unix system? How will you tell which shell you are running?
What do you mean by stack unwinding in c++?
Define stacks. Provide an example where they are useful.
without if else statement can be written ah
How do you declare A pointer to function which receives an int pointer and returns a float pointer
Explain the auto storage classes in c++.