Which among the following is inherited by a derived class from base class?
A. Data members only
B. Member functions only
C. All the members except private members
D. All the members of base class
Answer: c
Explanation: The class inheriting another class, inherits all the data members and member functions that are not private. This is done to ensure the security features with maximum flexibility.