Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure OOPs concept
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
1
Only protected and public data of C and B
2
Only protected and public data of C
3
All data of C and private data of A and B
4
Public and protected data of A and B and all data of C