Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
class
MyClass {
/* ... */
};
MyClass a;
MyClass b = a;
// (1)
MyClass c;
c = a;
// (2)
(1) copy constructor, (2) copy assignment operator
(1) default constructor, (2) copy assignment operator
(1) copy assignment operator, (2) copy constructor
(1) copy constructor, (2) copy constructor
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!