网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下面程序段的运行结果是 void main() { int t,a,b,c; a=1;b=2;C=2; while(a<b<c) { t=a;a=b;b=t;c--;} cout << a << " ," << b << " ," << c; }
A.1,2,0
B.2,1,0
C.1,2,1
D.2,1,1
参考答案
更多 “ 下面程序段的运行结果是 void main() { int t,a,b,c; a=1;b=2;C=2; while(a<b<c) { t=a;a=b;b=t;c--;} cout << a << " ," << b << " ," << c; }A.1,2,0B.2,1,0C.1,2,1D.2,1,1 ” 相关考题
考题
下面程序段的运行结果是void main(){int t,a,b,c;a=1;b=2;c=2:while(a{t=a;a=b;b=t;c--;}cout }A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
下面程序段的运行结果是void main ( ){int t, a, b, C;a=1;b=2;C=2;while(a<b<c){t=a;a=b;b=t;c--;}cout < < a < < "," < < b < < "," < < C;}A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
1、下述程序段的运行结果是() int a=1,b=2, c=3, t; while (a<b<c) { t=a; a=b; b=t; c--; } printf(“%d,%d,%d”,a,b,c);A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
下面程序段的运行结果是:()。 int a=1;b=2;c=2; while (a<b<c) {t=a;a=b;b=t;c--;} cout<<a<<”,”<<b<<”,”<<c;A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
3、下述程序段的运行结果是() int a=1,b=2, c=3, t; while (a<b<c) {t=a; a=b; b=t; c--;} printf(“%d,%d,%d”,a,b,c);A.1,2,0B.2,1,0C.1,2,1D.2,2,1
考题
下面程序段的执行结果是int a,b,c,t; a=1; b=2; c=2; while(a<b<c) { t=a; a=b; b=t; c--; } cout<<a<<","<<b<<","<<c<<endl;A.1,2,0B.1,1,0C.2,1,1D.2,1,0
考题
【单选题】下面程序段的运行结果是() a=1;b=2;c=2; while(a<b<c) { t=a;a=b;b=t;c--;} printf("%d,%d,%d",a,b,c);A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
下述程序段的运行结果是() int a=1,b=2, c=3, t; while (a<b<c) { t=a; a=b; b=t; c--; } printf(“%d,%d,%d”,a,b,c);A.1,2,0B.2,1,0C.1,2,1D.2,1,1
考题
【单选题】下面程序段的运行结果是 。 a=1;b=2;c=2; while(a<b<c) {t=a;a=b;b=t;c--;} printf("%d,%d,%d",a,b,c);A.1,2,0B.2,1,0C.1,2,1D.2,1,1
热门标签
最新试卷