1.

Which of the following operator cannot be overloaded?(a) +(b) ?:(c) –(d) %The question was asked in semester exam.My question comes from Operator Overloading in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer» CORRECT choice is (B) ?:

To explain I would say: ?:, :: and . cannot be overloaded +, -, % can be overloaded.


Discussion

No Comment Found

Related InterviewSolutions