For overloading “( )”, “[ ]” or “->” operators, a class __________
(a) Must use static member functions
(b) Must use non-static member functions
(c) Must be non-static member and should not be friend of class
(d) Must use static member function or a friend member function
This question was addressed to me during an interview.
My question is based upon Member Functions in section Class Members & Types of Object Oriented Programming