Which of the following is correct?
A. Friend functions can access public members of a class
B. Friend functions can access protected members of a class
C. Friend functions can access private members of a class
D. All of the mentioned
Answer: Option D
Join The Discussion