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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Only 2,3,5

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
245
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate