search
Log In
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
1 vote
527 views
which of the following statements are true for operator overloading in C++?

a. The * operator can be overloaded to perform division
b. The * operator can be overloaded to perform assignment
c. ** can be overloaded to perform "to the power of"
d. Operators can be overloaded only inside classes
in Object Oriented Programming
recategorized by
527 views

Please log in or register to answer this question.

Related questions

1 vote
0 answers
1
101 views
On overloading pre increment and post increment why compiler taking dummy value only for post increment and not in pre increment
asked Apr 6, 2018 in Object Oriented Programming kd..... 101 views
2 votes
1 answer
2
173 views
Is it possible to have a function call on the left hand side of the equality operator? a. No, because you can only have variables on the left side b. Yes, but only in case of functions that do not return anything c. Yes, but only in case of functions that return a pointer value d. Yes, but only in case of functions that return a reference value.
asked Feb 24, 2017 in Object Oriented Programming Meenakshi Sharma 173 views
0 votes
1 answer
3
331 views
the order in which operands are evaluated in an expression in predictable if th operator is a) * b) + c)% d)&&
asked Sep 5, 2016 in Object Oriented Programming Meenakshi Sharma 331 views
1 vote
1 answer
4
180 views
Which of the following statement (s) regarding operator overloading is false? a. Overloaded operator should have same precedence as in actual operator. b. Overloaded operator should have same number of operands as in actual operator. c. Overloaded operator should return same type precedence as in ... ], or –> operators I. a and d only II. b and c III. c only IV. all statements are correct
asked Aug 11, 2016 in Programming sh!va 180 views
...