Which operator among the following can be overloaded using both friend function and member function?
(a) Assignment operator
(b) Subscript
(c) Member selection (arrow operator)
(d) Modulus operator
I have been asked this question in unit test.
Origin of the question is Member Operator Function topic in chapter Member Functions & its Types of Object Oriented Programming