Which one of the following describes characteristics of
"protected" inheritance?
a) The base class has access only to the public or protected
members of the derived class.
b) The derived class has non-public, inheritable, access to
all but the private members of the base class.
c) The derived class has access to all members of the base
class.
d) The private members of the base class are visible within
the derived class.
e) Public members of the derived class are privately
accessible from the base class.
Answers were Sorted based on User's Feedback
What are the differences between a struct and a class in C++?
How to create a reference variable in C++
What is size of a object of following class? class Foo { public: void foo(){} }
What are the two types of polymorphism?
What do you understand by zombie objects in c++?
What is the difference between public and private data members?
When should overload new operator on a global basis or a class basis?
What is namespace std; and what is consists of?
Difference between delete and free.
Can we use this pointer in a class specific, operator-overloading function for new operator?
What is the v-ptr?
Why c++ is created?