下面函数原型声明中,声明了fun为虚函数的是
A.void fun()=0
B.virtual void fun()=O
C.virtual void fun()
D.virtual void fun(){}
正确答案是C
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/240845.html
上一篇:班级不只是许多个体的简单集合,它一旦建立就作为一种教育影响因素而存在。
下一篇:He was so busily engaged in his work that he did not ___________ to us.