Question OOP-INH-0014
MediumWhich members of a base class are NOT accessible in a derived class in C++?
- A.
Private members
- B.
Protected members
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Inheritance question
Which members of a base class are NOT accessible in a derived class in C++?
Private members
Protected members
Sign up free to see the answer and a step-by-step explanation.
Static public members
Public members