← 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++?
- A.
- B.==
- C.::
- 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 →