Multiple choice technology programming languages

Which of the following operators cannot be overloaded?

  1. sizeof

  2. ::

  3. :?

  4. All the Above

Reveal answer Fill a bubble to check yourself
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.