Answer:
(c) member function
Step-by-step explanation:
Polymorphism is when member functions in a class hierarchy perform differently, depending upon which object performs the call.
Polymorphism refers to the ability of different objects to respond to the same method call in different ways. In a class hierarchy, member functions (also known as methods) are defined in the base class and can be overridden or re-implemented in derived classes. When an object of a derived class is created, it can override the implementation of a method defined in the base class and provide its own version of that method.
For example, consider a class hierarchy in which the base class is "Shape" and there are derived classes called "Circle" and "Rectangle." The "Shape" class may define a method called "area()" that calculates the area of the shape. The "Circle" class may override the "area()" method and provide its own implementation that calculates the area of a circle using the radius of the circle, while the "Rectangle" class may override the "area()" method and provide its own implementation that calculates the area of a rectangle using its length and width.
When a method is called on an object of the "Circle" class, the object will use the implementation of the "area()" method provided in the "Circle" class to calculate the area. Similarly, when a method is called on an object of the "Rectangle" class, the object will use the implementation of the "area()" method provided in the "Rectangle" class to calculate the area. This is an example of polymorphism, as the same method call is being performed differently depending on the type of object that is performing the call.
In this context, the correct answer is (c) member functions.