Home / C++ Programming / OOPS Concepts :: Discussion

Discussion :: OOPS Concepts

  1. Which one of the following options is correct?

  2. A.
    Friend function can access public data members of the class.
    B.
    Friend function can access protected data members of the class.
    C.
    Friend function can access private data members of the class.
    D.
    All of the above.

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment