Question: Given the following partially defined class, what other special function members should be defined? class Collection { public: //... -Collection(){ delete [] Data; }//...
Given the following partially defined class, what other special function members should be defined? class Collection { public: //... -Collection(){ delete [] Data; }//... private: int* Data; }; A. Copy-Assignment Operator B. Comparison Operators C. Copy Constructor D. Default Constructor E. Sorting Functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
