Question: Which type of function can be used for polymorphism?

  1. virtual function
  2. inline function
  3. undefined function
  4. private function

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