Multiple choice

Which one of the following operators can't be overloaded?

  1. ::

  2. +

  3. +=

  4. []

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The scope resolution operator (::) cannot be overloaded in C++ because it's essential for language syntax and name lookup. Operators like +, +=, and [] can all be overloaded for user-defined types.