Which type of function is not a member of a class, but can access its private members?
Show answer
Correct answer B
A friend function can access the private and protected data of a class.
Correct answer B
A friend function can access the private and protected data of a class.