Multiple choice

A pure virtual function is a function that___________

  1. has no body

  2. returns nothing

  3. is used in a base class

  4. takes no arguments

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

A pure virtual function is declared in a base class with no implementation, typically using the syntax = 0. It forces derived classes to provide their own implementation.