1.

Which of the following operator can be overloaded?(a) ?:(b) ::(c) .(d) ==The question was posed to me during an internship interview.My enquiry is from Operator Overloading topic in division Source Files, Classes and Operator Overloading in C++ of C++

Answer» CORRECT CHOICE is (d) ==

To EXPLAIN: ?:, :: and . cannot be OVERLOADED WHEREAS == can be overloaded.


Discussion

No Comment Found

Related InterviewSolutions