A friend function to a class, C cannot access
A. private data members and member functions.
B. public data members and member functions.
C. protected data members and member functions.
D. the data members of the derived class of C.
Answer:D
A friend function to a class, C cannot access
A. private data members and member functions. B. public data members and member functions. C. protected data members and member functions. D. the data members of the derived class of C.