I wanted help on the exact use of copy constructors as I still havent got the idea of how they are used. If possible also I would like some info about them.
Also I wished some guidance on which books to refer after studying linked lists in C. Any suggestions would be welcome.
Jump to Post
Here's my understanding of copy constructors.
Copy constructors create a new object of the type of the class it is in from an already existing object of that type. Routinely, the data in the object passed is used to populate the data members in the new object so the …
All 4 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.