x

Choose Country Code

x

Direction

x

Ask a Question

  • Ask a Question
  • Scan a Question
  • Post MCQ
  • Note: File extension must be of jpg, jpeg, png, bmp format and file size must not exceed 5 MB
x

Ask a Question

x

x
x
x
Hire a Tutor

Answers and Solutions

What's Your Question?
Answer
The copy constructor is a constructor which creates an object by initializing it with an object of the same class, which has been created previously. The copy constructor is used to: Initialize one object from another of the same type. Copy an object to pass it as an argument to a function.
Answer

Dear Ankur,

Your question is not clear. But i will try to answer this. overridden concept comes into picture when base & derived class comes in.

And any default thing which is defined is not for your need.  It will be there even you don't need. That means when a default thing is not according to your need then you have to define according to your need. Then overloaded comes into picture for default copy constructor case.

Post Answer and Earn Credit Points

Get 5 credit points for each correct answer. The best one gets 25 in all.

Post Answer