1.

In context of C++, consider the following statements:I. Friend function of a class can directly access both private and protected data of the class.II. Member function of derived class can directly access both private and protected data of the class.The true statement(s) is / are:

A. Only I
B. Only II
C. Both I and II
D. Neither I Nor II
Answer» B. Only II


Discussion

No Comment Found