1.

Members of which access specifiers are not inherited?(a) Public(b) Protected(c) Private(d) None of the mentionedThe question was posed to me in an interview for internship.My enquiry is from Access Control topic in portion Class Hierarchies, Library & Containers of C++

Answer»

Right choice is (d) NONE of the mentioned

Explanation: All the data members and member FUNCTIONS of a class are PRIVATE by DEFAULT.



Discussion

No Comment Found

Related InterviewSolutions