11. Explain how a private data of a base class can be accessed by a publicly derived class. 12. Explain the merits and demerits of private derivation over the public derivation. 13. What is a friend...




11. Explain how a private data of a base class can be accessed by a publicly derived class.


12. Explain the merits and demerits of private derivation over the public derivation.


13. What is a friend class? What are the access control a friend class has over the member function?


14. What is a public derivation? Explain how a private member of a base class can be accessed by the public member function of the derived class through public inheritance?














May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here