Home / C++ Programming / Objects and Classes :: Discussion

Discussion :: Objects and Classes

  1. Which of the following statements is incorrect?

  2. A.
    Friend keyword can be used in the class to allow access to another class.
    B.
    Friend keyword can be used for a function in the public section of a class.
    C.
    Friend keyword can be used for a function in the private section of a class.
    D.
    Friend keyword can be used on main().

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    No answer description available for this question.


Be The First To Comment