1.

How to access the object in the class?(a) scope resolution operator(b) ternary operator(c) direct member access operator(d) resolution operatorThis question was posed to me at a job interview.This intriguing question originated from Objects topic in chapter Source Files, Classes and Operator Overloading in C++ of C++

Answer»

The CORRECT option is (C) DIRECT member access operator

The best EXPLANATION: Objects in the method can be ACCESSED using direct member access operator which is (.).



Discussion

No Comment Found

Related InterviewSolutions