Examveda

What is the concept of function overriding in C++?

A. It involves a derived class defining a function that redefines a base class function.

B. It involves a base class defining a function that is already defined in the derived class.

C. It involves multiple functions with the same name but different implementations.

D. It involves calling a function multiple times within the same scope.

Answer: Option A


Join The Discussion

Related Questions on Polymorphism in C plus plus

What is polymorphism in C++?

A. A feature that allows objects of different classes to have the same name.

B. A feature that allows functions to perform different tasks based on the object they are called with.

C. A feature that allows the same function to have different implementations.

D. A feature that allows inheritance of multiple classes.