Which of the following is used to access the overridden function of the base…

2018

Which of the following is used to access the overridden function of the base class from the derived class?

Answer: A. ::The scope resolution operator :: accesses overridden base class functions from a derived class. This syntax explicitly calls the parent implementation instead…

  1. A.

    ::

  2. B.

    <<

  3. C.

    >>

  4. D.

    :

Attempted by 572 students.

Show answer & explanation

Correct answer: A

The scope resolution operator :: accesses overridden base class functions from a derived class. This syntax explicitly calls the parent implementation instead of the overridden version.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs

Loading lesson…