class derived:protected base ==> int this case all protected and public members of the base class are protected for the derived one
class derived:public base ==> int this case all protected and public members of the base class are respectively protected and public for the derived one
in both cases the derived class can access the public and the protected members of the base class, what's the difference ?