InterviewSolution
Saved Bookmarks
| 1. |
What is the syntax of friend function?(a) friend class1 Class2;(b) friend class;(c) friend class(d) friend class()The question was asked in an online quiz.My query is from Friends in section Source Files, Classes and Operator Overloading in C++ of C++ |
|
Answer» Correct answer is (a) FRIEND class1 CLASS2; |
|