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
Article Tags :
Recommended Articles