重要提示:请勿将账号共享给其他人使用,违者账号将被封禁!
查看《购买须知》>>>
首页 > 计算机应用技术> 网页设计与制作
网友您好,请在下方输入框内输入要搜索的题目:
搜题
拍照、语音搜题,请扫码下载APP
扫一扫 下载APP
题目内容 (请给出正确答案)
[主观题]

若有以下程序 include<stdio.h> main(){ inti,j=0; chara[]=Howareyou!,b[10]; for(i=0

若有以下程序 include<stdio.h> main(){ inti,j=0; chara[]=Howareyou!,b[10]; for(i=0;a[i];i++) if(a[i]=¨)b[j++]=a[i+1]; b[j]=\0; printf(%s\n,b);} 则程序的输出结果是

A.Howareyou

B.Hay!

C.Howareyou!

D.ay

答案
查看答案
更多“若有以下程序 include<stdio.h> main(){ inti,j=0; chara[]=Howareyou!,b[10]; for(i=0”相关的问题

第1题

以下程序运行后的输出结果是【 】。 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" ); }

点击查看答案

第2题

若有如下程序: include "stdio.h" main() { char s[30]; Strcpy(&S[0],"

若有如下程序: include "stdio.h" main() { char s[30]; Strcpy(&S[0],"adc"); Strcpy(&S[1],"def"); strcpy(&S[2],"gh");; printf("%S\n",s); 则程序运行后的输出结果是【 】。

点击查看答案

第3题

若有如下程序: include"stdio.h" main() {char s[30]; strcpy(&s[0],"abc"); st

若有如下程序: include"stdio.h" main() {char s[30]; strcpy(&s[0],"abc"); strcpy(&s[1],"de"); strcpy(&s[2],"f"); printf("%s\n",s); } 则程序运行后的输出结果是【 】。

点击查看答案

第4题

以下程序的输出结果是______。 include<stdio.h> main() { double a=1234.56789;

以下程序的输出结果是______。 include<stdio.h> main() { double a=1234.56789; printf("%8.4f,%8.2f\n",a,a); }

点击查看答案

第5题

以下程序的输出结果是______。 include<stdio.h> main() { int a=340; a=a/

以下程序的输出结果是______。 include<stdio.h> main() { int a=340; a=a/3; a=a%3; printf("%d",a); }

点击查看答案

第6题

有以下程序 include <lostream> using namespace std; int main() { int

有以下程序 include <lostream> using namespace std; int main() { int i=010,j=10; cout<<(i)<<","<<j--<<endl; return 0; } 则该程序运行后的输出结果是【 】。

点击查看答案

第7题

以下程序的输出结果是【 】。 include <stdio.h> deftne JFT(x)x*x main() {

以下程序的输出结果是【 】。 include <stdio.h> deftne JFT(x)x*x main() { int a,k=3; a=++JFT(k+1); printf("%d",a); }

点击查看答案

第8题

以下程序段中,错误的行号是【 】。 ① include <stdio.h> ② main() ③ { char str[14]

以下程序段中,错误的行号是【 】。 ① include <stdio.h> ② main() ③ { char str[14];str[]={"I love China!"}; ④ printf("%s",str); ⑤ }

点击查看答案

第9题

以下程序的输出结果是【 】。 include<stdio.h> fun() { static int a=0; a+=

以下程序的输出结果是【 】。 include<stdio.h> fun() { static int a=0; a+=2;printf("%d",a);} main() { int cc; for(cc=1;CC<4;CC++)fun(); printf("\n");}

点击查看答案

第10题

有以下程序 include<stdio.h> intfun(inta,intb){ retuma+b;} main(){ intx=6,y=7,z=8,

有以下程序 include<stdio.h> intfun(inta,intb){ retuma+b;} main(){ intx=6,y=7,z=8,r; r=fun(fun(x,y),Z-); printf(%d\n,r);) 程序运行后的输出结果是

A.15

B.21

C.20

D.31

点击查看答案

第11题

以下程序运行后的输出结果是【 】。 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) ); }

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

订单号:

遇到问题请联系在线客服

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