首页 > 计算机应用技术> 微机原理及应用
题目内容 (请给出正确答案)
[主观题]

以下程序运行后的输出结果是______。 main() { int a=3,b=4,c=5,t=99; i[(b<a &

以下程序运行后的输出结果是______。 main() { int a=3,b=4,c=5,t=99; i[(b<a && a<C) t=a;a=c;c=t; if(a<c && b<C) t=b;b=a;a=t; printf("%d%d%d\n",a,b,c) ; }

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“以下程序运行后的输出结果是______。 main() { …”相关的问题
第1题
以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b

以下程序运行后的输出结果是______。 main { inn a=b= c=5: if (c=a+b) printf ("yes\n); else printf ("no\n); }

点击查看答案
第2题
以下程序运行后的输出结果是【 】。 fun(iht x) { if(x/2>0) fun(x/2); print

以下程序运行后的输出结果是【 】。 fun(iht x) { if(x/2>0) fun(x/2); printf("%d",x); } main() { fun(6); }

点击查看答案
第3题
有以下程序 main(){ inti=l; i=i^i; printf(%d\n,1);} 程序运行后的输出结果是A.-1B.0C

有以下程序 main(){ inti=l; i=i^i; printf(%d\n,1);} 程序运行后的输出结果是

A.-1

B.0

C.1

D.7

点击查看答案
第4题
以下程序运行后的输出结果是【 】。 main() { int p=30; printf("%dkn",(p/3>0?p/10:

以下程序运行后的输出结果是【 】。 main() { int p=30; printf("%dkn",(p/3>0?p/10:p%3)); }

点击查看答案
第5题
以下程序运行后的输出结果是【 】。 main() { int x==15; while(x>10 && x

以下程序运行后的输出结果是【 】。 main() { int x==15; while(x>10 && x<50) { x++; if(x/3){x++;break;} else continue; } printf("%d\n",x); }

点击查看答案
第6题
以下程序运行后的输出结果是【 】。 include <stdio, h> main() char c1 ,c2; for(e

以下程序运行后的输出结果是【 】。 include <stdio, h> main() char c1 ,c2; for(el = 0, c2 =9; e1<c2; c1 + + , c2 -- ) printf(" %c%c", c1, c2 ); printf("\n" ); }

点击查看答案
第7题
以下程序运行后的输出结果是【 】。 define S(x)4*x*x+1 mah() { int i=6,j=8;

以下程序运行后的输出结果是【 】。 define S(x)4*x*x+1 mah() { int i=6,j=8; printf("%d\n",S(i+j)); }

点击查看答案
第8题
以下程序运行后的输出结果是【 】。 include <stdio.h> msin() { int i,n[]={0,0,0,

以下程序运行后的输出结果是【 】。 include <stdio.h> msin() { int i,n[]={0,0,0,0,0}; for(i=1;i<=4;i++) { n[i]=n[i-1]*2+1; printf("%d",n[i]); } }

点击查看答案
第9题
以下程序运行后的输出结果是【 】。 include <stdio.h> define S(x) 4 * x * x + 1

以下程序运行后的输出结果是【 】。 include <stdio.h> define S(x) 4 * x * x + 1 main() { int i=6,j=8; prinff("% d \ n" , S(i + j) ); }

点击查看答案
第10题
以下程序运行后的输出结果是______。 inClude <strinq.h> char *ss(char *s)

以下程序运行后的输出结果是______。 inClude <strinq.h> char *ss(char *s) { char *p;t; p=S+1;t=*s; while(*p){*(p-1)=*p;p++;} *(p-1)=t; return s; } main() { char *p,str[10]="abcdefgh"; p=ss(str); printf("%s\n",p); }

点击查看答案
第11题
有以下程序 main(){ chara=H; a:(a>=A&&a<=Z)?(a+32);a; printf(%c\n,a);) 程序运行后

有以下程序 main(){ chara=H; a:(a>=A&&a<=Z)?(a+32);a; printf(%c\n,a);) 程序运行后的输出结果是

A.H

B.A

C.h

D.a

点击查看答案
退出 登录/注册
发送账号至手机
密码将被重置
获取验证码
发送
温馨提示
该问题答案仅针对搜题卡用户开放,请点击购买搜题卡。
马上购买搜题卡
我已购买搜题卡, 登录账号 继续查看答案
重置密码
确认修改