What is the syntax to overload an operator?
(a) className::operator<operatorSymbol>(parameters)
(b) className:operator<operatorSymbol>(parameters)
(c) className.operator<operatorSymbol>(paramteres)
(d) className->operator<operatorSymbol>(parameters)
I had been asked this question in an online interview.
I'd like to ask this question from Member Operator Function in division Member Functions & its Types of Object Oriented Programming