Which type of function is not a member of a class, but can access its private members?

  • AStatic
  • BFriend
  • CConstructor
  • DDestructior
Show answerHide answer

Correct answer B

A friend function can access the private and protected data of a class.