1.

Which is used to define the member of a class externally?(a) :(b) ::(c) #(d) !!$This question was addressed to me in final exam.My doubt stems from Classes in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

The correct OPTION is (b) ::

To EXPLAIN: :: OPERATOR is used to DEFINE the body of any class FUNCTION outside the class.



Discussion

No Comment Found

Related InterviewSolutions