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

以下程序的输出结果是()。 main () { int x=10,y=-5, z=12; if (x<y) if (y<0) z=0; e

以下程序的输出结果是( )。

main ( )

{ int x=10,y=-5, z=12;

if (x<y)

if (y<0) z=0;

else z+=1 ;

print f ("%d\n" , z) ;

}

(A)0 (B)12 (C)13 (D)10

答案
查看答案
更多“以下程序的输出结果是()。 main () { int x=10,y=-5, z=12; if (x<y) if (y<0) z=0; e”相关的问题

第1题

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

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

点击查看答案

第2题

以下程序的输出结果是______。 include <string.h> main() { printf("%d\n",strlen(

以下程序的输出结果是______。 include <string.h> main() { printf("%d\n",strlen("IBM\n012\1\\"));}

点击查看答案

第3题

以下程序的输出结果是______。 main() { char st[]:"hello\O\t\\"; printf(&

以下程序的输出结果是______。

main()

{ char st[]:"hello\O\t\\";

printf("%d,%d\n",strlen(st),sizeof(st));

}

点击查看答案

第4题

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

点击查看答案

第5题

以下程序的输出结果是______。 main() { int a[10]={10,20,30,40,50,60,70,80,90,100},*

以下程序的输出结果是______。 main() { int a[10]={10,20,30,40,50,60,70,80,90,100},*p; p=a+2;printf("%d\n,(p+2)[3]); }

点击查看答案

第6题

以下程序的输出结果是【 】。 include <stdio.h> main() { int i; for(i=′a′;i<

以下程序的输出结果是【 】。 include <stdio.h> main() { int i; for(i=′a′;i<′f′;i++,i++)printf("%c",i-′a′+′A′); printf("\n"); }

点击查看答案

第7题

若有以下程序 main(){ intc; C=1315; pfintf(%d\n,c);} 则程序的输出结果是A.15B.18C.1

若有以下程序 main(){ intc; C=1315; pfintf(%d\n,c);} 则程序的输出结果是

A.15

B.18

C.13

D.5

点击查看答案

第8题

以下程序的输出结果是______。 include <stdio.h> main() { int a[5]={2,4,6,8,10},

以下程序的输出结果是______。 include <stdio.h> main() { int a[5]={2,4,6,8,10},*p; p=a;p++; printf("%d",*p); }

点击查看答案

第9题

以下程序运行后的输出结果是【 】。 include <stdio.h> main () { iht x=

以下程序运行后的输出结果是【 】。 include <stdio.h> main () { iht x=0210; printf("%x \n" ,x); }

点击查看答案

第10题

以下程序的输出结果是【 】。 main() { int y=9; for(; y>0; y--) if (y%3==0)

以下程序的输出结果是【 】。 main() { int y=9; for(; y>0; y--) if (y%3==0) {printf("%d", --y); continue;} }

点击查看答案

第11题

以下程序的输出结果是【 】。 include <stdio.h> main() { int a[5]={2,4,6,8,10},

以下程序的输出结果是【 】。 include <stdio.h> main() { int a[5]={2,4,6,8,10},*p; p=a; p++; printf("%d",*p); }

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

订单号:

遇到问题请联系在线客服

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