Examveda

What is the purpose of a copy constructor in C++?

A. To hide the implementation details of a class

B. To destroy objects

C. To initialize an object using another object

D. To create multiple instances of a class

Answer: Option C


Join The Discussion

Related Questions on Classes and Objects in C plus plus