A

Admin • 833K Points
Coach

Q. Which of the following is correct about friend functions?

  • (A) Friend cannot access the members of the class directly
  • (B) Friend functions use the dot operator to access members of a class using class objects
  • (C) Friend functions can be private or public
  • (D) All of the above
  • Correct Answer - Option(D)
  • Views: 12
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.