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 size is allocated to the union variable?
What is #include cmath?
How can we read/write Structures from/to data files?
What is the difference between the compiler and the preprocessor?
write a programming using for loop in c++ to generate diamond trangel?
Explain storage qualifiers in c++.
What is the meaning of c++?
How can you tell what shell you are running on unix system?
Why do we use structure in c++?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is the need of a destructor?
What are the extraction and insertion operators in c++?