Subscribe TechModgy to learn about new technologies!

Private data members can be accessed

A. Only from the base class itself

B. Both from the base class and form its derived classes

C. From the class which is a friend of the base class

D. None of the above is correct

Please do not use chat terms. Example: avoid using "grt" instead of "great".