单选题

请读:main(){ int a=1,b=2; printf();}则上面的输出结果是____。

A. 2
B. 3
C. 4
D. 1

查看答案
该试题由用户904****26提供 查看答案人数:37066 如遇到问题请 联系客服
正确答案
该试题由用户904****26提供 查看答案人数:37067 如遇到问题请联系客服

相关试题

换一换
单选题
请读:main(){ int a=1,b=2; printf();}则上面的输出结果是____。
A.2 B.3 C.4 D.1
答案
单选题
请读:int a,b,c;A=()+5)-5;printf();c=a=0;b=();printf();则上面的输出结果是____。
A.a,b,c=0,10,10 a,b,c=10,15,10 B.a,b,c=10,15,10 a,b,c=10,15,10 C.a,b,c=10,15,10 a,b,c=0,10,0 D.a,b,c=10,敧敬敭瑮祂摉汃獡婳献捲术瑸浤湩
答案
单选题
请读:main(){ int a=4,b=7; printf());则上面的输出结果是____
A.5 B.4 C.13 D.8
答案
单选题
请读:main(){ int a=2,i; for()printf());}f(){ int b=0; static c=3; b++; c++; return();}则上面的输出结果是____
A.777 B.7 7 7 C.789 D.7 8 9
答案
单选题
请读:int i=0,j=0,a=6;if()||())a++;printf();则上面的输出结果是____。
A.i=0,j=0,a=6 B.i=1,j=0,a=7 C.i=1,j=1,a=6 D.i=1,j=1,a=7
答案
单选题
请读: include void main(){char x=112,y=211; printf();}则上面的输出结果是____
A.-32 B.0 C.-32768 D.-22
答案
主观题
请读程序: #include main { int a,b; for(a=1,b=1;a=20) break; if (b%3==1) { b+=3; continue; } b-=5; } printf("%dn",a); } 上面程序的输出结果是
答案
单选题
请读:static int a[]={1,3,5,7,9};int y,x,*p;y=1;p=&a[1];for()y*=*();printf();则上面的输出结果是____。
A.110 B.102 C.100 D.105
答案
主观题
若有:int a=0,b=1,c=2; 则执行if(a--&&(b+=c))printf(“### ”); else printf(“$$$ ”); 输出结果为:
答案
单选题
请读程序:#includevoidfun(float*pl,float*p2,float*s){s=(float*)calloc(1,sizeof(float));*s=*p1 *(p2 );}main(){floata[2]={1.1,2.2},b[2]={10.0,20.0},*s=a;fun(a,b,s)printf(""%f "",*s);}上面程序的输出结果是()
A.11.100000 B.12.100000 C.21.100000 D.1.100000
答案
热门试题
请读程序: #include void fun(float *pl, float *p2, float *s) { s=( float * )calloc( 1, sizeof(float)); *s=*p1+ *(p2++); } main( ) { float a[2]={1.1, 2.2}, b[2]={10.0, 20.0}, *s=a; fun(a, b, s) printf(""%f/n"",*s); } 上面程序的输出结果是() 请读程序: #includeint main(){ int x,i; for(i=1;i<=50;i++) { x=i; if(x%2==0) if(x%3==0) if(x%7==0) printf("%d",i); } return 0;} 则上面程序的输出结果是: 请读:main(){ int *p,x; x=10; *p=x; printf();}请判断上面____ 请读:main(){ static int a[]={1,2,3,4,5,6} int *p; int i; p=a; *()+=2; printf());}其输出是________。 请读程序: inti=0,j=0,a=6; if(( i>0) ( j>0))a ; printf("i=%d,j=%d,a=d% ",i,j,a); 则上面程序的输出结果是() 设有说明语句"int a =1,b=0;"则执行以下语句后,输出为(). switch(a) { case 1: switch(b) { case 0:printf(" * * 0 * * " );break; case 1:printf(" * * 1 * * " );break; } case 2:printf(" * * 2 * * " );break; } 请读:main(){ char *p; char s[80]; scanf(); p=s[0]; printf();}请判断上面____ 请读:main(){ float x,y; int *p; x=3.45;p=&x;y=*p; printf();}请判断上面____ 请读程序: #include#includeusing namespace std;int main(){ int a,b; for(a=1,b=1;a=20) break; if(b%3==1) { b+=3; continue; } b-=5; } printf("%d ",a); return 0;} 程序的输出结果是: 下面程序的输出结果为( )。 main( ) { int a=1,b=0; switch(a) { case 1: switch (b) { case 0: printf("**0**"); break; case 1: printf("**1**"); break; } case 2: printf("**2**"); break; }} 设有intb=-1;则执行printf("%un”,b);后的输出是() 下面程序运行后的输出结果是______。 int a=1,b=0; printf("%d,",b=a+b); printf("%d ",a=2*b); 请读程序:#include f(int b【】,int n){int i,r;r=1;for(i=0;i<=n;i++)r=r*b【i】;return r;}main(){int x,a【】={2,3,4,5,6,7,8,9};x=f(a,3);printf("%d/n",x);}上面程序的输出结果是() 请读程序:includef(intb[],intn){inti,r=1;for(i=0;i<=n;i++)r=r*b[i];returnr;}voidmain{intx,a[]={2,3,4,5,6,7,8,9};x=f(a,3);printf(%d ,x);}上面程序的输出结果是() inta=3,b=2,c=1;if(a>b)printf(%d,b);if(a>c)printf(%d,a);elseprintf(%d,c);该程序段的输出为() 有以下程序,则输出结果是。 #include main { int a=1, b=1, c=2; if( (a++||b++)&&c++) printf("%d,%d,%d",a,b,c); } int i=20; switch(i/10) {case 2:printf(“A”); case 1:printf(“B”);} 的输出结果为A。() 请读程序: main() {char*p; chars[80]; scanf("%s",s); p=s[0]; printf("%s",p); } 请判断上面程序() char a=’1′,b=’2′;printf(“%c,”,b++);printf(“%d ”,b-a);数字0的ASCII码是48,上面程序段的运行结果是() 有以下程序 #includemain(){ int a=1,b=0; printf(“%d,”,b=a+b); printf(“%d”,a=2*b); } 程序运行后的输出结果是
购买搜题卡 会员须知 | 联系客服
会员须知 | 联系客服
关注公众号,回复验证码
享30次免费查看答案
微信扫码关注 立即领取
恭喜获得奖励,快去免费查看答案吧~
去查看答案
全站题库适用,可用于E考试网网站及系列App

    只用于搜题看答案,不支持试卷、题库练习 ,下载APP还可体验拍照搜题和语音搜索

    支付方式

     

     

     
    首次登录享
    免费查看答案20
    微信扫码登录 账号登录 短信登录
    使用微信扫一扫登录
    登录成功
    首次登录已为您完成账号注册,
    可在【个人中心】修改密码或在登录时选择忘记密码
    账号登录默认密码:手机号后六位