What are friend member functions (C++)?
(a) Member function which can access all the members of a class
(b) Member function which can modify any data of a class
(c) Member function which doesn’t have access to private members
(d) Non-member functions which have access to all the members (including private) of a class
I had been asked this question in a job interview.
Origin of the question is Types of Member Functions in section Member Functions & its Types of Object Oriented Programming