Q:

What is the syntax to overload an operator?

0

What is the syntax to overload an operator?


  1. className::operator(parameters)
  2. className:operator(parameters)
  3. className.operator(paramteres)
  4. className->operator(parameters)

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (a).className::operator(parameters)

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING MEMBER FUNCTIONS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
Why the left parameter is removed from parameter l... >>
<< If a friend overloaded operator have to be changed...