Question: In C++, copy constructor, assignment operator overloading, and destructor always should appear together (known as the Big Three). Why do they have to appear together?
In C++, copy constructor, assignment operator overloading, and destructor always should appear together (known as the Big Three). Why do they have to appear together?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
