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 |
Explain what are the sizes and ranges of the basic c++ data types?
What is the meaning of string in c++?
What is a v-table?
What is the use of "new" operator?
what are prototypes
C is to C++ as 1 is to a) What the heck b) 2 c) 10
What is the main purpose of overloading operators?
What is command line arguments in C++? What are its uses? Where we have to use this?
What are the storage qualifiers?
Define what is constructor?
Explain the purpose of the keyword volatile.
What are the debugging methods you use when came across a problem?