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
Can I uninstall microsoft c++ redistributable?
What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator?
If dog is a friend of boy and boy is a friend of house, is dog a friend of house?
What is the output of this prog. ? struct A { A(){ cout << \"A\"; } }; struct B { B(){ cout << \"B\"; } }; struct C { C(){ cout << \"C\"; } }; struct D { D(){ cout << \"D\"; } }; struct E : D { E(){ cout << \"E\"; } }; struct F : A, B { C c; D d; E e; F() : B(), A(),d(),c(),e() { cout << \"F\"; } };
What are the different types of comments allowed in c++?
What's the "software peter principle”?
What is data structure in c++?
Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers
What is insertion sorting?
What is late binding c++?
Define 'std'.
Differentiate between the message and method in c++?