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


Please Help Members By Posting Answers For Below Questions

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....

1952


Why we use #include iostream in c++?

585


What do the keywords volatile and mean mutable?

610


Why c++ is created?

578


Mention the ways in which parameterized can be invoked.

540






Describe delete operator?

625


What is a literal in c++?

569


We use library functions in the program, in what form they are provided to the program?

602


Define pre-condition and post-condition to a member function in c++?

667


What is vector string in c++?

578


What are pointers used for c++?

574


What is :: operator in c++?

582


When must you use a pointer rather than a reference?

608


What is using namespace std in cpp?

551


What are c++ tokens?

595