info@avatto.com
+91-9920808017
11. Without overloading of the + operator,
addition could not be performed on built-in types
addition could not be performed on class objects
class objects could not be added to one another
programs would be harder to read and understand.
Your email address will not be published. Required fields are marked *
Report
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Comment
12. Which of the following operators may be overloaded?
.(Member)
::(scope resolution)
%(Modulus)
?:(conditional)
13. Which of the following may be overloaded as an operator?
operator*()
*operator()
op*()
*op()
14. The name of the operator function that overloads the * symbol is
15. Assuming that properly overloaded the / operator for a Number class, and that a and b are two members of the Number class, which expression is legal?
a/b
a operator/ (b)
Both (a) and (b)
None of these
Login with Facebook
Login with Google
Forgot your password?
Lost your password? Please enter your email address. You will receive mail with link to set new password.
Back to login