下列程序的输出结果为2,请将程序补充完整。 #include using namespace std; class Base { public: ______ void fun(){cout<<1;} }; class Derived:public Base { public: void fun(){cout<<2;} }; int main() { Base *p=new Derived; p->fun(); delete p; return 0; }
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】The author uses pitch as an example in order to indicate______.
A.
that pitch is not a good example to explain the sex differences in language
B.
that males should talk in low pitched voices and females in high pitched voices
C.
that sex differences in language can not be well illustrated
D.
that sex differences lie in eye or ear of the beholder, rather than in the language