首页 > 大学专科> 电子信息
题目内容 (请给出正确答案)
[单选题]

下面程序的输出结果是( )。 main() {int a[]={1,2,3,4,5,6,7,8,9,0,},*p; p=a; printf("%d\n",*p+9); }

A.0

B.1

C.10

D.9

查看答案
答案
收藏
如果结果不匹配,请 联系老师 获取答案
您可能会需要:
您的账号:,可能还需要:
您的账号:
发送账号密码至手机
发送
安装优题宝APP,拍照搜题省时又省心!
更多“下面程序的输出结果是()。 main() {int a[]=…”相关的问题
第1题
下面程序的输出结果是______。 main() { int x=11,*p=x; *p=23; printf("%d",x); }

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

main()

{

int x=11,*p=x;

*p=23;

printf("%d",x);

}

点击查看答案
第2题
下面程序的输出结果是______。 #include"stdio.h" main() (cbar b[]="ABCD"; char

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

#include"stdio.h"

main()

(cbar b[]="ABCD";

char*chp;

for(chp=b;*chp;chp+=2)

printf("%s\t",chp);

printf("\n");

}

点击查看答案
第3题
下面程序的输出结果是【 】。 char b[]="ABCD"; main() { char *p=b; for(;*p;p

下面程序的输出结果是【 】。 char b[]="ABCD"; main() { char *p=b; for(;*p;p++) printf("%s",p); printf("\n"); }

点击查看答案
第4题
下面程序的输出结果是()main(){int x=177;printf("%o/n",x);

A.177

B.261

C.-61

D.61

点击查看答案
第5题
下面程序的输出结果是【 】。 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"); }

点击查看答案
第6题
下面程序的输出结果是【 】。 include<stdio.h> main() { static char a[]="language"

下面程序的输出结果是【 】。 include<stdio.h> main() { static char a[]="language" ,b[]="program"; char*ptrl=a,*ptr2=b; int k; for(k=0;k<7;k++) if(*(ptrl+k)==*(ptr2+k)) printf("%c",*(ptrl+k));}

点击查看答案
第7题
下面程序的输出结果是( )。 main() {int a[]={1,2,3,4,5,6,7,8,9,0,},*p; p=a; printf("%d\n",*p+9); }

A.0

B.1

C.10

D.9

点击查看答案
第8题
下面程序的输出结果是【 】。 main() { int i=3,j=2; char * a="DCBA"; printf("%c

下面程序的输出结果是【 】。 main() { int i=3,j=2; char * a="DCBA"; printf("%c%c\n",a[i],a[j]) }

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