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...





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.








May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here