Open In App

Algorithms Quiz | SP Contest 1 | Question 5

Like Article
Like
Save
Share
Report

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


Last Updated : 11 Jul, 2018
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads