InterviewSolution
Saved Bookmarks
| 1. |
Pick out the correct statement.(a) A friend function may be a member of another class(b) A friend function may not be a member of another class(c) A friend function may or may not be a member of another class(d) None of the mentionedI got this question in an internship interview.My question is from Friends in chapter Source Files, Classes and Operator Overloading in C++ of C++ |
|
Answer» Correct choice is (C) A friend function MAY or may not be a member of another class |
|