Open In App

C++ | Operator Overloading | Question 2

Which of the following operators cannot be overloaded
(A) . (Member Access or Dot operator)
(B) ?: (Ternary or Conditional Operator )
(C) :: (Scope Resolution Operator)
(D) .* (Pointer-to-member Operator )
(E) All of the above

Answer: (E)
Explanation: See What are the operators that cannot be overloaded in C++?
Quiz of this Question

Article Tags :