Which type of member functions get inherited in the same specifier in which the inheritance is done? (If private inheritance is used, those become private and if public used, those become public)
(a) Private member functions
(b) Protected member functions
(c) Public member functions
(d) All member functions
This question was addressed to me during an interview.
My question is from Public Member Functions topic in portion Member Functions & its Types of Object Oriented Programming