Answer Posted / swetcha
The purpose of a copy constructor is to initialize a new
object of a given class by copying an existing object of
that class.
Is This Answer Correct ? | 63 Yes | 3 No |
Post New Answer View All Answers
What is coupling in oop?
Which is not a valid keyword a) public b) protected c) guarded
Is C++ case sensitive a) False b) Depends on implementation c) True
what is pre-processor in C++?
What is the main purpose of c++?
What character terminates all character array strings a) b) . c) END
How does a C++ structure differ from a C++ class?
List the types of polymorphism in c++?
What is lazy initialization in c++?
When should overload new operator on a global basis or a class basis?
Can comments be nested?
How the memory management in vectors are being done. What happens when the heap memory is full, and how do you handle it ?
If all is successful, what should main return a) 0 b) 1 c) void
Explain what happens when an exception is thrown in C++.
When does a name clash occur in c++?