16.A program to demonstrate how a private data of a base class is accessed by the public member function of the derived class through friend class declaration. The derived class has been inherited via...





16.A program to demonstrate how a private data of a base class is accessed by the public member function of the derived class through friend class declaration. The derived class has been inherited via public inheritance.



17.A program to demonstrate how a private data of a base class is accessed by the public member function of the derived class through friend class declaration. The derived class has been inherited via private inheritance.








May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here