What is the main purpose of a copy constructor in C++?
Options
- A. To initialize an object from another object of the same or compatible class type
- B. To destroy an existing object
- C. To allocate an array automatically
- D. More than one of the above
- E. None of the above