Which among the following are valid ways of overloading the operators?
(a) Only using friend function
(b) Only using member function
(c) Either member functions or friend functions can be used
(d) Operators can’t be overloaded
The question was posed to me during an interview for a job.
This interesting question is from Member Operator Function in division Member Functions & its Types of Object Oriented Programming