下面函数原型声明中,声明了fun为虚函数的是()
A.
void fun()=0
B.
virtual void fun()=0
C.
virtual void fun()
D.
virtual void fun(){}
正确答案是C
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/239625.html
上一篇:In the mid-1950s and early 1960s, there appeared “()” who demonstrated a particular disillusion over the depressing situation in Britain and launched a bitter protest against the outmoded social and political values in their society.
下一篇:主语是动作或行为的接受者的句子称为