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.
Answer Posted / roshanpr
d
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Why we use #include iostream in c++?
What do the keywords volatile and mean mutable?
Why c++ is created?
Mention the ways in which parameterized can be invoked.
Describe delete operator?
What is a literal in c++?
We use library functions in the program, in what form they are provided to the program?
Define pre-condition and post-condition to a member function in c++?
What is vector string in c++?
What are pointers used for c++?
What is :: operator in c++?
When must you use a pointer rather than a reference?
What is using namespace std in cpp?
What are c++ tokens?