Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming Quiz 60 – Which of the following is used to make an abstract class?

Question: Which of the following is used to make an abstract class?
[A]. Declaring it abstract using static keyword.
[B]. Declaring it abstract using virtual keyword.[C]. Making at least one member function as virtual function.
[D]. Making at least one member function as pure virtual function.

Answer: Option D