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

Discussion :: Objects and Classes

  1. Which of the following statements are correct for a static member function?

    1. It can access only other static members of its class.
    2. It can be called using the class name, instead of objects.

  2. A.
    Only 1 is correct.
    B.
    Only 2 is correct.
    C.
    Both 1 and 2 are correct.
    D.
    Both 1 and 2 are incorrect.

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    No answer description available for this question.


Be The First To Comment