Which of the following is not a member of class?
Show answerHide answer
Correct answer: (B) Friend function
Explanation
A friend function of a class is a non-member function that is given the same access as member methods to the class's private and protected data. It is declared inside the class that grants access, but it is not a member of the class.