OOPS
October 17, 2023DSSSB TGT 2021
October 17, 2023OOPS
|
Question 13
|
If a class C is derived from class B which is derived from class A, all though public inheritance, then a class C member function can access
|
protected and public data in C and B
|
|
|
protected and public data only C
|
|
|
private data in A and B
|
|
|
protected data in A and B
|
Correct Answer: D
