Loading practice questions
Can a copy constructor be made private?
Correct Answer: D — Yes, always
Explanation:
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.