Which of the following operators cannot be overloaded?

Options
- %
- ::
- Both a and b above
- +


CORRECT ANSWER : ::

Discussion Board
Which of the following operators cannot be overloaded?

In C++, following operators can not be overloaded:

. (Member Access or Dot operator)
?: (Ternary or Conditional Operator )
:: (Scope Resolution Operator)
.* (Pointer-to-member Operator )
sizeof (Object size Operator)
typeid (Object type Operator)

sunny singh 06-16-2017 05:09 AM

operator overloading

this question belongs to the c++

subbarao 04-14-2016 06:31 AM

Is this a C test or a C++ one?

.

rathelor 11-5-2014 10:18 AM

c

only single : operator is use in inheritance


Gautam tupe 09-16-2014 06:26 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement