Question

    Purpose of Scope resolution operator

    A used to qualify hidden names so that you can still use them Correct Answer Incorrect Answer
    B To access a global variable when there is a local variable with same name: Correct Answer Incorrect Answer
    C To define a function outside a class. Correct Answer Incorrect Answer
    D All three Correct Answer Incorrect Answer
    E Only 1 and 2 Correct Answer Incorrect Answer

    Solution

    The correct answer is D

    Practice Next