Question discussion

Which of the following operators cannot be overloaded in C++?

1941Medium DSSSB TGT Computer Science 0 replies 1 views
0

Which of the following operators cannot be overloaded in C++?

  • A+
  • B[]
  • C()
  • D::
Correct answer: D

Explanation

The scope-resolution operator (::), the dot operator, ?: and sizeof cannot be overloaded.

Discussion 0

Nobody has replied yet. Start the discussion!