📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    In C++, which operator is used to access a member

    function through a pointer to an object?
    A . Correct Answer Incorrect Answer
    B -> Correct Answer Incorrect Answer
    C * Correct Answer Incorrect Answer
    D & Correct Answer Incorrect Answer
    E :: Correct Answer Incorrect Answer

    Solution

    The arrow operator (->) accesses members of an object through a pointer.

    Practice Next
    ask-question