my book explains that
Code:
class C: public A   //able to access public member functions
class B: private A   //un-able to access public member functions
isnt the point of inheritance is to add features to a class without modifying it? but if class B cant access anything from base class A then whats the whole point? am i missing something here?
whats the point of the private keyword in inheritance?