Which of the following is correct about friend functions?
Posted: Wed Jul 13, 2022 7:52 pm
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
b) Friend functions can be private or public
c) Friend cannot access the members of the class directly
d) All of the mentioned