adplus-dvertising
frame-decoration

Question

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

Answer: (c).Public member functions

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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...