Friend Function And Friend Class In C++ With Examples

Friend Function: Friend Function –The private and protected members of any class cannot be accessed from outside the class. Sometime, it may require to access private and protected members. A Friend function... Read more »