What happens if a derived class does not override an inherited pure virtual function?

Options

  • A. The derived class automatically becomes concrete
  • B. The pure virtual function is automatically removed
  • C. The derived class remains abstract
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

C. The derived class remains abstract

Detailed Explanation

Correct Answer: Option C

Explanation:
If a derived class does not provide an implementation for an inherited pure virtual function, the function remains unimplemented in that class. The derived class is therefore abstract and cannot be instantiated directly.