Answer the question (i) and (ii) after going through the following class:
class Maths
{ char Chapter[20];
int Marks;
public:
Maths() //Member Function 1
{ strcpy Chapter,"Geometry");
Marks=10;
cout<<"Chapter Initialized";
}
~Maths() //Member Function 2
{
cout<<"Chapter Over";
}
};
(i) Name the specific features of class show by Member Function 1 and Member Function 2 in the above example.
(ii) How would Member Function 1 and Member Function 2 gets executed?