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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here