A friend function to a class X cannot access :
A. The data members of the derived class of X.
B. Protected data members and member functions
C. Private data members and member functions
D. Public data members and member functions
Answer:A
A friend function to a class X cannot access :
A. The data members of the derived class of X. B. Protected data members and member functions C. Private data members and member functions D. Public data members and member functions