首页
›
答案
›
题库
›
远程教育
›
国家开放大学
下面函数原型声明中,()声明了fun为纯虚函数。
下面函数原型声明中,()声明了fun为纯虚函数。
A、void fun()=0;
B、virtual void fun()=0;
C、virtual void fun();
D、virtual void fun(){};
正确答案:virtual void fun()=0;
标签:
函数
声明
原型
上一条:
Which of the following is not a method to discover reasons for the thesis?(单选)
下一条:
已知函数调用f(3,4,5)是正确的函数调用,则下列选项中函数f可能的声明形式包括()。