Multiple choice technology programming languages

Which of the following operators cannot be overloaded?

  1. ?:(Ternary Operator)

  2. .(member access)

  3. () (Paranthesis)

  4. ::(scope resolution)

Reveal answer Fill a bubble to check yourself
A,B,D Correct answer
Explanation

In C++, the ternary operator (?:), member access operator (.), and scope resolution operator (::) cannot be overloaded. These operators have fundamental meanings that must remain consistent. Function call operator () can be overloaded, which is why option C is incorrect.