...
OOPS
October 17, 2023
DSSSB TGT 2021
October 17, 2023
OOPS
October 17, 2023
DSSSB TGT 2021
October 17, 2023

OOPS

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

A
protected and public data in C and B
B
protected and public data only C
C
private data in A and B
D
protected data in A and B
Correct Answer: D

Leave a Reply

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