Question:Consider the sample code given below and answer the question that follows.
class X { int i; protected: float f; public: char c; }; class Y : private X { };Referring to the sample code above, which of the following data members of X are accessible from class Y
A c
B f
C i
D none
+ AnswerA B
+ Report