C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 9)
9.
Which of the following cannot be friend?
Function
Class
Object
Operator function
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
21 comments Page 3 of 3.

Kiran said:   1 decade ago
Class and functions can only be friend. Objects are instance of class, they cannot be defined by user as friend.


Post your comments here:

Your comments will be displayed after verification.