We can access a Friend function from any other class in which friend function is introduced or declared even if the other class is not a member of first class.
But when we use normal member function, we can have its access only in the derived classes of the first class.
This is the basic difference between a friend function and a normal member function.
Copyright © 2026 eLLeNow.com All Rights Reserved.