应在下列程序画线处填入的正确语句是 ()。#include <iostream>using namespace std;clas Basepublic:void fun()cout<<"Base::fun"<<end1;;class Derived : public Basevoid fun()________________//显示调用基类的函数 fun()cout<<"Derived::fun"<<end1;;
(A)fun();
(B)Base.fun();
(C)Base::fun();
(D)Base->fun();
查看解析
参考答案
继续答题:下一题