Which of the following operators cannot be overloaded?
-
sizeof
-
::
-
:?
-
All the Above
D
Correct answer
Explanation
C++ prohibits overloading the sizeof operator (language built-in for memory size), scope resolution operator :: (fundamental to language syntax), and ternary operator ?: (conditional operator has special syntax rules). These operators are part of the core language and their behavior is fixed by the specification.