ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Can a copy constructor be made private?
Correct Answer: D — Yes, always
The copy constructor can be defined as private. If we make it private then the objects of the class can’t be copied. It can be used when a class used dynamic memory allocation.