Q. Which of the following is the correct syntax for defining a pure virtual function in C++?
β
Correct Answer: (A)
virtual void show() = 0;
Explanation: A pure virtual function is declared using 'virtual' followed by '= 0'.