Sail E0 Webinar
Question

If a class C is derived from class B, which is derived from class A, all through public inheritance, then a class C member function can access


Options:
A .  protected and public data only in C and B.
B .  protected and public data only in C.
C .  private data in A and B.
D .  protected data in A and B.
Answer: Option D




Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers