Which of the following operators cannot be overloaded in C++?
- ==
- =
- ::
- ++
In C++, most of the operators can be overloaded with a few exceptions. Among the operators that cannot be overloaded are: the scope resolution operator ::, the member selection operators . and .*, and the ternary conditional operator ?:.
Loading...
Related Quiz
- The goto statement can only jump to labels within the same _______.
- When performing a bitwise AND operation with a number and 0, the result is always _______.
- What is the main purpose of using protected access specifier in base class?
- What will be the result of the bitwise OR operation between 1101 and 1010 binary numbers?
- To prevent memory leaks, every call to new should be matched with a call to _______.