下列程序中画线处应填入的语句是 class Base { public: void fun(){cout<<"Base of fun"<<end1;} }; class Derived:public Base { void fun() { ______//显示基类的成员函数fun cout<
A. fun();
Base.fun();
C. Base: :fun();
D. Base->fun();
查看答案
以下程序的输出结果是 #include<iostream.h> void reverse(int a [ ] ,int n) {int i,t; for(i=0;i<n/2;i++) {t=a[i];a[i]=a[n-1-i];a[n-1-i]=t;} } void main() {int b[10]={1,2,3,4,5,6,7,8,9,10}
A. 22
B. 10
C. 34
D. 30
【C3】
A. taken
B. shared
C. borrowed
D. traded
According to Paragraph 3, Brett and Specht's interviewees ______.
A. joined armed forces under 18
B. considered going into the army their duty
C. were only from African countries
D. were mainly the ex-soldiers
According to the passage, ______ had the best job prospects in 2002.
A. computer science
B. accounting
C. teaching
D. nursing