网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
下列程序的运行结果为include < iostream.h >void main( ){ int a=2; int b=a+l; cout < < a/b
下列程序的运行结果为 #include < iostream.h > void main( ) { int a=2; int b=a+l; cout < < a/b < < end1; }
A.0.66667
B.0
C.0.7
D.0.66666666…
参考答案
更多 “ 下列程序的运行结果为include void main( ){ int a=2; int b=a+l; cout 下列程序的运行结果为 #include < iostream.h > void main( ) { int a=2; int b=a+l; cout < < a/b < < end1; }A.0.66667B.0C.0.7D.0.66666666… ” 相关考题
考题
下面程序的运行结果是includevoid fun(int * a,int * b){ int x= * a; * a = * b;*
下面程序的运行结果是 #include<iostream.h> void fun(int * a,int * b) { int x= * a; * a = * b; * b=x; cout <<*a<< *b<<""; } void main( 0 { int x =1,y =2; fun(x,y); cout<< x << y <<end1; }A.12 12B.12 21C.21 12D.21 21
考题
下列程序的运行结果是()。includevoid fun (int *a,int*b){int*kk=a;a=b;b=k}void
下列程序的运行结果是( )。 #include< iostream.h> void fun (int *a,int*b) {int*k k=a;a=b;b=k} void main() {int a=2004, b=9,*x=a,*y=b; fun(x, y) ; cout<<a<<" "<<b<<endl:}A.20049B.92004C.0D.编译时出错
考题
下面程序的运行结果是 include void fun(int * a,int * b) { int x= * a; * a= *
下面程序的运行结果是#include<iostream.h>void fun(int * a,int * b){int x= * a;* a= * b; * b=X;cout < < * a < < * b < <" ";}void main( ){int x=1,y=2;fun(x,y) ;cout < < X < < y < < endl;}A.12 12B.12 21C.21 12D.21 21
考题
下列程序的运行结果为【】。 include void main(void) {int a=2,b=-1,c=2; if(a
下列程序的运行结果为【 】。include<iostream.h>void main(void){int a=2,b=-1,c=2;if(a<b)if(b<0)c=0;else c=c+1;cout<<c<<endl;}
考题
下列程序的运行结果是includevoid fun(int * a,int * b){int * k; k=a; a=b; b=k;}
下列程序的运行结果是 #include<iostream.h> void fun(int * a,int * b) { int * k; k=a; a=b; b=k; } void main( ) { int a=3,b=6, * x=a, * y=b; fun(x, y) ; cout < < a < < " " < < b; }A.6 3B.3 6C.编译出错D.0 0
考题
下列程序的运行结果是()。includevoid fun(int *a, int *b) {int *k; k=a; a=b; b=
下列程序的运行结果是( )。#include<iostream.h>void fun(int *a, int *b) {int *k; k=a; a=b; b=k;}void main(){int a=2OO4,b=9,*x=a,*y=b;fun(x, y);cout<<a<<" "<<b<<end1;}A.20049B.92004C.0D.编译时出错
考题
下列程序段的输出结果是includevoid fun(int * x,int * y){cout
下列程序段的输出结果是 #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<<endl; {A.2143B.1212C.1234D.2112
考题
下列程序的运行结果是 inClude roid fun(int *a,int * b) { int * k; k=a;a=b
下列程序的运行结果是 #inClude<iostream.h> roid fun(int *a,int * b) { int * k; k=a;a=b;b=k;} void main( ) { int a=2004,b=9,* x=a,* y=b; fun(x,y); cout < < a < <" " < < b < < end1;}A.2004 9B.9 2004C.0 0D.编译时出错
考题
下列程序的运行结果是includevoid fun(int *a,int *B){int *k;k=a;a=b;b=k;}void m
下列程序的运行结果是 #include<iostream.h> void fun(int *a,int *B) {int *k; k=a;a=b;b=k; } void main( ) {int a=3,b=6,*x=a,*y=b; fun(x,y); cout << a <<" "<< b; }A.63B.36C.编译出错D.0
热门标签
最新试卷