a. The class ifstream is derived from which class? (7)
b. The class ofstream is derived from which class? (7)
Explain how in a private inheritance, the members of the base class are inherited by a derived class. (8)
Explain how in a protected inheritance, the members of the base class are inherited by a derived class. (8)