1.

Out of the following, which is not a member of the class?(a) Static function(b) Friend function(c) Constant function(d) Virtual functionThe question was asked at a job interview.This key question is from OOPs Concept in section Basics Concepts of C++ of C++

Answer»

Right ANSWER is (b) Friend FUNCTION

For explanation: Friend function is not a member of the class. They are GIVEN the same access rights as the class member function have but they are not actual members of the class.



Discussion

No Comment Found

Related InterviewSolutions