29.A program to access the private data of a class by non-member function through a friend specifier, where the friend function is defined with inline code substitution. The keyword inline is used in both the function declaration and the function definition.
30.A program to demonstrate how a class first has granted its friendship to the class second to access the private data of the class first through the public member function of the class second.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here