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 a type library?
When do we use copy constructors?
Differentiate between an inspector and a mutator ?
What is == in programming?
How do you establish an is-a relationship?
What is binary object model?
What is the use of namespace std in C++?
What is name mangling/name decoration?
What data structure is fastest, on average, for retrieving data: a) Binary Tree b) Hash Table c) Stack
What is object oriented programming (oop)?
Is c++ a software?
Write a function to perform the substraction of two numbers. Eg: char N1="123", N2="478", N3=-355(N1-N2).
How can I learn c++ easily?
What do you mean by stack unwinding in c++?
What is the full form of stl in c++?