CPP MCQ
Which of the following statements is NOT valid about operator overloading?
A)
The overloaded operator must have at least one operand of its class type
B)
The overloaded operators follow the syntax rules of the original operator
C)
Only existing operators can be overloaded
D)
None of the above

Correct Answer : Option (A) :   The overloaded operator must have at least one operand of its class type

Explanation : The overloaded operator must not have at least one operand of its class type.