Multiple choice

Which of the following properties of C++ enables two or more functions to have same name, but different prototypes?

  1. Operator overloading

  2. Polymorphism

  3. Inheritance

  4. Function prototyping

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

This is the property of C++, which enables functions having same name to be accessed multiple times by passing different number and type of arguments to the function.