Multiple choice

In C++, which of the following operators cannot be overloaded?

  1. +

  2. <

  3. >

  4. Scope resolution operator

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

This operator defines the scope of any member function. Hence, it cannot be overloaded.