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 meant by entry controlled loop? What all C++ loops are exit controlled?
Is facebook written in c++?
Explain container class.
What do the header files usually contains?
What is auto used for in c++?
Implement strcmp
What is dynamic and static typing?
plz send me National informatics center paper pattern
Do you know what is overriding?
I was a c++ code and was asked to find out the bug in that. The bug was that he declared an object locally in a function and tried to return the pointer to that object. Since the object is local to the function, it no more exists after returning from the function. The pointer, therefore, is invalid outside.
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
Check for Balanced Parentheses using Stack?