OOPortal 





Operator Overloading  «Prev 

Operator Overloading in C++ - Quiz

Each question is worth one point. Select the best answer or answers for each question.
 
1. Which one of the following operators can be overloaded?
  A. ::
  B. new
  C. .*
  D. sizeof


2. Which one of the following operators cannot be overloaded?
  A. the function call ( )
  B. +=
  C. >>
  D. ?:
Score =
Correct answers: