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

下面程序的输出结果是【 】。 include <stdio.h> main() { staic char b[]="Goodbye";

下面程序的输出结果是【 】。 include <stdio.h> main() { staic char b[]="Goodbye"; char * chp = &b [7]; while(- - chp>=&b[0])putchar (* chp); printf("\n"); }

答案
查看答案
更多“下面程序的输出结果是【 】。 include <stdio.h> main() { staic char b[]="Goodbye";”相关的问题

第1题

下面程序的运行结果是()。 char a[7]="abcdef"; char b[4]="ABC"; strcpy(a,b); printf("%c",a[5]);

A.输出空格

B.\0

C.e

D.f

点击查看答案

第2题

下面程序的输出结果是。score80ifscore60print成绩为dscore,end,print不及格()

A、成绩为80,不及格

B、成绩为80

C、不及格

D、无输出

点击查看答案

第3题

下面程序的输出结果是()。 def StudentInfo(country='中国',name): print('%s,%s'%(name,country)) StudentInfo('美国','大卫')

A.大卫,美国

B.美国,大卫

C.大卫,中国

D.报错

点击查看答案

第4题

下面程序运行后,输出的结果是______。 For J= 1 To 10 A(J)=2*J B(J)=A(J)*2 Next JPrint B(J/2+0.1) End

点击查看答案

第5题

下面程序段的输出结果是_______。class Base{ int i; Base(){ add(1); } void add(int v){ i+=v; } void print(){ System.out.println(i); } } class Extension extends Base{ Exten

A.9

B.22

C.20

D.18

点击查看答案

第6题

下面程序段的输出结果是_______。public class Test{ public static void main(String args[]){ int n=5,sum=0; while(n>0){ sum+=n; --n; } System.out.println("sum is:"+sum); } }
下面程序段的输出结果是_______。public class Test{ public static void main(String args[]){ int n=5,sum=0; while(n>0){ sum+=n; --n; } System.out.println("sum is:"+sum); } }

A.sum is: 5

B.sum is:15

C.sum is:14

D.sum is:10

点击查看答案

第7题

下面程序段的输出结果是_______。public class Test{ public static void main(String args[]
){ int x,y; x=(int)Math.sqrt(5)/2+(int)Math.random()*5/2; y=(int)Math.sqrt(3)/2+(int)Math.random()*3/2; if(x>y) System.out.println("x>y");

A.编译错误

B.x>y

C.x=y

D.x

点击查看答案

第8题

以下程序的输出结果是______。 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); }

点击查看答案

第9题

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

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

点击查看答案

第10题

下列程序的输出结果是______。 main() { char a[]="ABCDEFG"; char *cp=&a[7

下列程序的输出结果是______。 main() { char a[]="ABCDEFG"; char *cp=&a[7]; while(--cp>&a[0])putchar(*cp); }

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

订单号:

遇到问题请联系在线客服

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