+ 2

What is an friend function

12th Jun 2017, 4:34 PM
aiswarya shaji
aiswarya shaji - avatar
2 Réponses
+ 5
@gupta just like a friend
12th Jun 2017, 6:38 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 4
a friend function is a function that have the right to access​ all the private and potected members of the class. Friend function is not a member function.
12th Jun 2017, 4:42 PM
Paavan Gupta
Paavan Gupta - avatar