Programming - Oops - Discussion

You Are Here :: Home > C++ Language > Oops - Discussion

 



Q.

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                         


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
Explaination:

 


No Explanation




Discussion

Your Comments Goes here...
NameDiscussion