Which of the following is correct about friend functions?
A. Friend functions use the dot operator to access members of a class using class objects
B. Friend functions can be private or public
C. Friend cannot access the members of the class directly
D. All of the mentioned
Answer: Option D

Join The Discussion