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

#include

main()

{inta[2][3]={{1,2,3),{4,5,6}},(*p)[3],i;

p=a;

for(i=0;i<3;i++)

{if(i<2)

p[1][i]=p[1][i]一1;

else

p[1][i]=1;)

printf("%dn",a[0][1]+a[1][1]+a[1][2]);}

A、8
B、7
C、12
D、9
查看答案
正确答案:

B

答案解析:

暂无解析

上一题
你可能感兴趣的试题

31/2化成小数是3.05。()

Ihaveapenfriend,andwealwayssende_____toeachotherbycomputer

__________thereanyapplesinthekitchen?

A、Have
B、Be
C、Are

巨清华同学收集了以下资料,请你为她所收集的资料拟定一个正确主题

①“秦王扫六合”②“伐无道,诛暴秦”③汉朝与匈奴的和战④汉通西域

A、国家的产生和社会的变革
B、统一国家的建立
C、繁荣与开放的社会
D、经济重心的转移和民族关系的发展

在Ⅱ栏中选出与Ⅰ栏中相应的答语。

ⅠⅡ

()1.What'syourtelephonenumber,please?A.Heisaworker.

()2.It'sverycoldtoday,isn'tit?B.Itdoesn'tmatter.

()3.Canyoumendit?C.Yes,wonderful,thanks.

()4.Howisyourmother?D.Sometimes.

()5.Hi,thisismyfriend,Lily.E.Mytelephonenumberis6262383.

()6.I'msorrytotroubleyou.F.Yes,itis.Youneedtowearwarmclothes.

()7.Howoftendoyougotothepark?G.Certainly.

()8.Excuseme.Whereisthepostoffice?H.Nicetomeetyou.

()9.Whatdoesyourfatherdo?I.SheisOK.

()10.Didyouhaveagoodtrip?J.It'sabouttwentymetersfromhere.

热门试题 更多>
相关题库更多>
公共基础
Python语言程序设计
MS Office高级应用
Web程序设计
MySQL数据库程序设计
试卷库
试题库