Skip to content
Related Articles

Related Articles

Improve Article

C++ | Operator Overloading | Question 2

  • Difficulty Level : Medium
  • Last Updated : 28 Jun, 2021

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

Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up