Multiple choice

You can overload ?: (operator ) in C++. State whether the above statement is True or False.

  1. True

  2. False

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

The ternary operator (?:) is a built-in operator in C++ and cannot be overloaded.