Which of the following is true?
a. You overload an operator by making it a parameter to a function.
b. You should overload every C++ operator for each new class you create.
c. To avoid confusion, you should not overload operators to carry out tasks that are similar
in meaning to the built-in version of the operator.
d. Operators that are normally defined to be only unary must remain unary when you
overload them.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here