InterviewSolution
Saved Bookmarks
| 1. |
Which operator among the following must be overloaded using the friend function?(a) > operator only(c) Both > operators(d) It’s not mandatory to use friend function in any caseI have been asked this question by my college professor while I was bunking the class.I want to ask this question from Member Operator Function in division Member Functions & its Types of Object Oriented Programming |
|
Answer» Right option is (C) Both << and >> operators |
|