Which operator among the following must be overloaded using the friend function?
(a) << operator only
(b) >> operator only
(c) Both << and >> operators
(d) It’s not mandatory to use friend function in any case
I 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