🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Operators and Templates: all 10 questions

Quiz: Operators and Templates · Question 2 of 10

Which operator can NOT be overloaded in C++?

Which operator can NOT be overloaded in C++?

  1. A.
  2. B.==
  3. C.::
  4. D.[]
Answer & explanation

Correct answer: ::

The scope resolution operator :: can't be overloaded (nor . .* ?: sizeof).

Can you get the rest right without peeking?

Take the timed Quiz: Operators and Templates quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →