edited by
2,846 views
1 votes
1 votes

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 actual operator.

d. Operator overloading using friend function should not overload the =, ( ), [ ], or –> operators 



I. a and d only
II. b and c
III. c only
IV. all statements are correct

edited by

1 Answer

Related questions

1 votes
1 votes
0 answers
1
kd..... asked Apr 6, 2018
386 views
On overloading pre increment and post increment why compiler taking dummy value only for post increment and not in pre increment
1 votes
1 votes
1 answer
2
Harikesh Kumar asked Jan 14, 2018
288 views
Output is? With explanation
2 votes
2 votes
1 answer
3
Harikesh Kumar asked Jan 14, 2018
314 views
Explain the answer.
1 votes
1 votes
0 answers
4
Harikesh Kumar asked Jan 14, 2018
345 views
What is the correct Answer ?My answer is 90 and given answer is no output how?