+ 3
Friend function is not the member of class or not.
c++ in oop
2 Respostas
+ 15
when u create functions in class then those function are called member function
So, yes functions is the member of class when it is declared in class
+ 1
actually, the friend functions aren't part of the class interface! they are defined outside the class' scope but they have right to access the private and protected member of the class.