Which of the following, associated with a friend class, can directly access…

PYQ DSSSB 2018

Which of the following, associated with a friend class, can directly access private and protected data?

  1. A.

    Derived class

  2. B.

    Base class

  3. C.

    Non-member functions

  4. D.

    Member functions

Attempted by 972 students.

Sign up free to check your answer

Sign up free

Explore the full course: Dsssb Tgt Computer Science Paper 2

Loading lesson…