Multiple choice technology programming languages

Which of the following operator cannot be overloaded?

  1. = (assignment operator)

  2. == (equality operator)

  3. –> (row operator)

  4. :: (scope resolution operator)

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

The scope resolution operator :: is one of the few operators in C++ that cannot be overloaded because it operates on names rather than object values. Conversely, the assignment (=), equality (==), and member access (->) operators are standard overloadable operators in C++.