Computer Science, asked by avdhutdhamankar9428, 1 year ago

What is Friend Function ? What are their implications on information hiding ?

Answers

Answered by khushi769
1

Hello!!Answer is given below:-

A friend function of a class is defined outside that class' scope but it has the right to access all private and protected members of the class. Even though the prototypes for friend functions appear in the class definition, friends are not member functions.

Similar questions