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 is dynamic and static typing?
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
How are pointers type-cast?
What is meant by forward referencing and when should it be used?
What is singleton pattern in c++?
Explain the advantages of using friend classes.
What is meant by const_cast?
write a program that a 5 digit number and calculates 2 power that number and prints it.
2 Answers Vimukti Technologies,
What is c++ redistributable?
What is the difference between containment and delegation?
Can a program run without main?
What is the difference between a template and a macro?