A

Admin • 833.24K Points
Coach

Q. Which of the followings is/are not false about friend function ?

1. It can be called / invoked with class object.
2. It has objects as arguments.
3. It can have built-in types as arguments.
4. It must declared only in public part of a class.
5. It does not have this pointer as an argument.

  • (A) Only 2,4
  • (B) Only 1,2,5
  • (C) Only 2,3,5
  • (D) All of these
  • Correct Answer - Option(C)
  • Views: 29
  • 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.