Question 11
In C++, what access specifier makes class members accessible to derived classes while keeping them hidden from outside non-member functions?
Option B is correct. The 'protected' access specifier allows member access within the base class and its derived classes, but blocks access from outside functions.