![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
The bridge was named ______ the hero who gave his life for the cause of the people.A.after
The bridge was named ______ the hero who gave his life for the cause of the people.
A.after
B.for
C.because of
D.before
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)
The bridge was named ______ the hero who gave his life for the cause of the people.
A.after
B.for
C.because of
D.before
第1题
以下程序的输出的结果是()。 #include<iostream.h> int x=3: void main() { void fun(); int i; for(i=1;i<x;i++) fun(); } void fun() { static int x=1; x*=x+1; cout<<x<<" "; }
A.3,3
B.2,2
C.2,6
D.2,5
第2题
以下程序的输出的结果是()。#include <iostream.h>int x=3;void main(){ void incre(); int i; for (i=1;i<x;i++) incre();}Void incre(){ static int x=1; x*=x+1; cout<<x<<"";}
A.3 3
B.2 2
C.2 6
D.2 5
第3题
以下程序的输出结果是 #include<iostream.h> void main() {int x=1,y=3; cout << x++ << ","; {int x=0;x+=y*2; cout <<X <<"," <<y << ","; } cout << x <<","<< y; }
A.1,6,3,1,3
B.1,6,3,6,3
C.1,6,3,2,3
D.1,7,3,2,3
第4题
以下程序输出结果是 ______。 #include<iostream.h> void fun(int x,int y,int z){z=x+y;} void main() { int a=10; fun (2,2,a); cout<<a; }
A.0
B.4
C.10
D.无定值
第5题
以下程序的输出结果是 #include<iostream.h> void main() { char x=040; cout<<(x<<1);}
A.100
B.80
C.64
D.32
第6题
以下程序的输出结果是 #include<iostream.h> void main() { char x=040; cout << (X<<1) ;}
A.100
B.80
C.64
D.32
第7题
以下程序的输出结果是【 】。
include<iostream.h>
void main()
}
int a=0;
a+=(a=8) ;
cout<<a;
}
第8题
以下程序段的输出结果是 [ ] 。
include<iostream.h>
void ref(int &i);
void main(){
int val=1;
cout<<“旧值:”<<val<<end1;
ref(val);
cout<<”新值:”<<val<<end1;
}
void ref(int &i){i=10;}
第9题
下列程序的输出结果是 #include<iostream.h> void main() { double d=3.2; int x,y; x=1.2; y=(x+3.8)/5.0; cout < < y * d < < end1;}
A.3
B.3,2
C.0
D.3.07
第10题
下列程序段的输出结果是 #include<iostream.h> void fun(int * X,int * y) { cout < < * X < < * y; * X=3; * y=4; } void main() { int x=1,y=2; fun(&y,&x); cout < < X < < y < < end1; }
A.2143
B.1212
C.1234
D.2112
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!