Copy Constructor in C++
Thread TagsAdobe Illustrator Adobe InDesign Adobe Photoshop Android Development Android Programming Android Studio Automation Testing C / C++ Programming Career Options College Lounge css digital marketing Digital Marketing / SEO Fireworks Graphic Design Graphic designing Graphics Design Graphics Designing HTML? Illustrator Internship Training logo Design logo designing Magento Photoshop PHP Programming QA react-native Scroll Website SEO Single Page Website Stock Managment System Testing Typography UI UI/UX Development UI Design UI Designing UI development User Interface UX Design Web Designing Website Design Wordpress wp
Log in with your username and password
Register for free!
Registration at Smart Mentors is completely free and takes only a few seconds. By registering you’ll gain:
- Full Posting Privileges.
- Access to Private Messaging.
- Optional Email Notification.
- Ability to Fully Participate.
- Author Replies
- April 24, 2019 at 10:25 am #55940
A copy constructor is a member function which initializes an object using another object of the same class.
If a copy constructor is not defined in a class than compiler defines itself.
The copy constructor used to:
1) Initialize one object from another of the same type.
2) Copy an object to pass it as an argument to a function.
3) Copy an object to return it from a function.
You must be register. Registration is 100% free.to reply to this thread.Please or