This passage is primarily concerned with______.
A.the change of people's attitude toward their college education
B.the benefits of a college education
C.the result of formal and informal learning
D.the intercommunication among college students
第1题
以下程序的输出结果是______。 int f() { static int i=0; int s=1; s+=i;i++; return s; } main() { int i,a=0; for(i=0;i<5;i++)a+=f(): printf("%d\n",a); }
A.20
B.24
C.25
D.15
第2题
以下程序的输出结果是 int f() { static int i=0; int s=1; s+=i;i++; return s;} main() { int i,a=0; for(i=0;i<5;i++)a+=f(); printf("%d\n",a);}
A.20
B.24
C.25
D.15
第3题
以下程序的输出结果是 int f() { static int i=0; int s=1; s+=i; i++; return s; } main () { int i,a=0; for (i=0;i<5; i++) a+=f(); printf ("%d\n" ,a); }
A.20
B.24
C.25
D.15
第4题
以下程序的输出结果是 #include<iostream.h> int f() { static int i=0; int s=1 s+ =i; i++; return s;} void main() { int i,a=0; for(i=0 ;i<5;i++)a+=f(); cout < < a;}
A.20
B.24
C.25
D.15
第5题
以下程序的输出结果是 ______。 #include<iostream.h> Int f(){ static int i=0; int a=1; a+=; i++; return a; } void main() { int i,s=0; for(i=0;i<4;i++) s+=f(); cout<<s;
A.10
B.15
C.21
D.28
第6题
若有以下程序: #include <iostream> using namespace std; int f() { static int i = 0; int s = 1; s+=i; i++; return s; } int main() { int i,a = 0; for(i = 0;i<5;i++) a+=f(); cout<<a<<endl; return 0; } 程序运行后,输出的结果是
A.20
B.24
C.25
D.15
第7题
A.20
B.24
C.25
D.15
第8题
A.20
B.24
C.25
D.15
第9题
A.20
B.24
C.25
D.15
第10题
A.20
B.24
C.25
D.15
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!