With the help of friend function we can access ___members of a class.
Answers
Answered by
3
Answer:
When a class is declared a friend class, all the member functions of the friend class become friend functions. Since classB is a friend class, we can access all members of classA from inside classB .
Similar questions