重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 继续教育
网友您好,请在下方输入框内输入要搜索的题目:
搜题
如搜索结果不匹配,请联系老师获取答案
扫码添加老师QQ
扫码添加老师微信
题目内容 (请给出正确答案)
[主观题]

有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); }

有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); } 程序运行后的输出结果是()。

A.tuv

B.字符t的ASCIl码值

C.t

D.出错

答案
查看答案
更多“有以下程序: #include<stdio.h> main { char s[]="rstuv"; printf("%c\n",*s+2); }”相关的问题

第1题

有以下程序()

A.#include

B.02356

C.0235

D.235

E.2356

点击查看答案

第2题

有以下程序 #include #include main(){ inta = 3; printf( 行后的输出结果是()

A.-12

B.9

C.0

D.3

点击查看答案

第3题

有以下程序 #include <stdio.h> int fun(int a, int b) { if(b==0) return a;

有以下程序 #include <stdio.h> int fun(int a, int b) { if(b==0) return a; else return(fun(-a,-b)); } main() { printf("%d\n",fun(4,2)); } 程序的运行结果是______。

A.1

B.2

C.3

D.4

点击查看答案

第4题

有以下程序: include<stclio.h> main() { char c; while((c=getchar())!=?)pu

有以下程序: include<stclio.h> main() { char c; while((c=getchar())!=?)putchar(--c); } 程序运行时,如果从键盘输入:Y?N?<回车>,则输出结果为【 】。

点击查看答案

第5题

有以下程序#include<stdio.h>#include<string.h>main(){char x[]=“STRING”;x[0]=0;

有以下程序

#include<stdio.h>

#include<string.h>

main()

{char x[]=“STRING”;

x[0]=0;x[1]=’\0’;x[2]=’0’;

printf(”%d%d\n”,sizeof(x),strlen(x));

}

程序运行后的输出结果是()。

A.6 1

B.7 0

C.6 3

D.7 1

点击查看答案

第6题

有以下程序 #include<stdio.h> main {int y=9; for(;y>0;y--) if(y%3==0)printf("%d",-

有以下程序 #include<stdio.h> main {int y=9; for(;y>0;y--) if(y%3==0)printf("%d",--y); } 程序的运行结果是()。

A.741

B.963

C.852

D.875421

点击查看答案

第7题

有以下程序: #include mian(){ charc; for( putchar(); } 执行时如输入为:abcdefg##<回车>,则输出结果是()

A.abcdefg

B.bcdefgh$

C.bcdefgh$$

D.bcdefgh

点击查看答案

第8题

有以下程序: #include main(){ int i=4; for();i<2;i++)printf(); printf(); } 程序运行后的输出结果是()

A.12

B.4

C.1

D.0

点击查看答案

第9题

有以下程序: #include main(){ inta=0,b=0,c=0,d=0;()?++c:++d; printf(); } 程序的运行结果是()

A.1,0,1,0

B.1,1,0,1

C.1,0,0,1

D.1,1,1,0

点击查看答案

第10题

有以下程序: #include main(){ int x=8; for(;x>0;x--) { if(x%3) { printf(); continue; } printf(); } } 程序的运行结果是()

A.7,4,2

B.8,7,5,2

C.9,7,6,4

D.8,5,4,2

点击查看答案

第11题

有以下程序: #include<stdio.b> void fun(char c) { if(c>X)fun(c-1): printf("%C"

有以下程序: #include<stdio.b> void fun(char c) { if(c>X)fun(c-1): printf("%C",c); } traia() { fun(z);} 程序运行后的输出结果是()

A.xyz

B.wxyz

C.xzy

D.zvx

点击查看答案
下载APP
关注公众号
TOP
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付 系统将自动为您注册账号
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能
请用微信扫码测试
优题宝