Question: Which type of function among the following shows polymorphism?

  1. inline function
  2. undefined function
  3. virtual function
  4. class member function

Answer: The correct answer of the above question is Option C:virtual function