Vidyalelo
C++ Programming · Q122

Classes and Objects in C++

Programming · C++ Programming · question 122

Q122

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board