Which specifier makes all the data members and functions of base class inaccessible by the derived class?

a) private
b) protected
c) public
d) both private and protected

1 thought on “Which specifier makes all the data members and functions of base class inaccessible by the derived class?”

  1. c
    Explanation: Whenever a class is derived, all the members of the base class is inherited by the derived class but are not accessible by the derived class.

Leave a Comment