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
Is it possible to use a new for the reallocation of pointers ?
Enter n no. of element and delete value from desire position
Define vptr.
What is vector pair in c++?
If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?
What are virtual functions and what is its use?
What is the use of :: operator in c++?
Write a C/C++ program to show the result of a stored procedure "PROC_RESET_MAIL" on database "USER_NOTIFY".
2 Answers ABC, Accenture, DataLand, HCL, Webyog,
wap to accept 10 numbers & display the number of odd and even numbers??
What is insertion sorting?
What is the difference between method overloading and method overriding in c++?
How can you prevent accessing of the private parts of my class by other programmers (violating encapsulation)?