单项选择题

如果在基类中将show声明为不带返回值的纯虚函数,正确的写法是()。

A.virtualshow()=0;
B.virtualvoidshow();
C.virtualvoidshow()=0;
D.voidshow()=0virtual;