Question: Declare a Class containing members that are structures, pointers and variables. The class contains 'constructor' that initializes all members, 'destructor' that frees all pointers
Declare a Class containing members that are structures, pointers and variables. The class contains 'constructor' that initializes all members, 'destructor' that frees all pointers and a copy constructor that defines how one object of the same class is copied onto another object of the same class.
Step by Step Solution
3.34 Rating (157 Votes )
There are 3 Steps involved in it
Heres an example of a C class that contains members that are structures pointers and variables The class includes a constructor a destructor and a cop... View full answer
Get step-by-step solutions from verified subject matter experts
