Which among the following is mandatory condition for operators overloading?
(a) Overloaded operator must be member function of the left operand
(b) Overloaded operator must be member function of the right operand
(c) Overloaded operator must be member function of either left or right operand
(d) Overloaded operator must not be dependent on the operands
The question was asked in an interview for job.
The question is from Member Operator Function topic in section Member Functions & its Types of Object Oriented Programming