Computer Science, asked by srai77768, 4 months ago

With the help of friend function we can access ___members of a class.​

Answers

Answered by Anonymous
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