Skip to content
Related Articles

Related Articles

Algorithms Quiz | SP Contest 1 | Question 5
  • Last Updated : 11 Jul, 2018

Below are some operators separated by comma in C++. Which of these operators cannot be overloaded?

!, ::, ->*, ~, .*, sizeof, new

(A) ->*, .*, sizeof
(B) .*, ~, new
(C) ::, sizeof, !
(D) sizeof, .*, ::


Answer: (D)

Explanation: https://www.geeksforgeeks.org/g-fact-14/

Quiz of this Question

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :