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
Correct Answer: f
Explanation:
Note: This question has more than 1 correct answers
Note: This Question is unanswered, help us to find answer for this one
More C++ MCQ Questions