Question:In the sample code given below, which of the data members are accessible from class Y?class X { private int i; protected float f; public char c; } class Y : X { }
class X { private int i; protected float f; public char c; } class Y : X { }
A c B f C i D All of these
+ AnswerA
+ Report