C++ | Virtual Functions | Question 4

Last Updated :
Discuss
Comments
Which of the following is true about pure virtual functions? 1) Their implementation is not provided in a class where they are declared. 2) If a class has a pure virtual function, then the class becomes abstract class and an instance of this class cannot be created.
Both 1 and 2
Only 1
Only 2
Neither 1 nor 2
Share your thoughts in the comments