单选题:有以下程序main(){union{char ch[2];int d;}s;s.d=0x4321;printf("%x,

  • 题目分类:C语言
  • 题目类型:单选题
  • 号外号外:关注公众号送1000体验阅读点!
题目内容:
有以下程序
main()
{union
{char ch[2];
int d;
}s;
s.d=0x4321;
printf("%x,%x\n",s.ch[0],s.ch[1]);
}
在16位编译系统上,程序执行后的输出结果是( )。 A.21,43
B.43,21
C.43,00
D.21,00
关注公众号,送1000阅读点
关注公众号,送1000阅读点
1:点击图片或者扫二维码进入公众号,关注公众号!
2:私信发送您在66题库注册的会员号!
3:在一个小时内,您将收到充值卡
4:到点卡充值输入充值卡内容即可!
5:多关注多得!免费的呦!只要本站不倒闭,永久有效!
参考答案:【答案仅供学习,请勿对照自行用药等】
答案解析:

The attitude of the author towards the research project is

The attitude of the author towards the research project isA.positive B.negativ C

查看答案

The word “affect” in Paragraph 6 could be best replaced by

The word “affect” in Paragraph 6 could be best replaced byA.“influence” B.“effec

查看答案

以下语句或语句组中,能正确进行字符串赋值的是( )

以下语句或语句组中,能正确进行字符串赋值的是( )A.char*sp;*sp="right!"; B.chars[10];s="right!"; C.chars

查看答案

有以下程序void swap(char *x,char *y){char t;t=*x; *x=*y; *y=t;}ma

有以下程序void swap(char *x,char *y){char t;t=*x; *x=*y; *y=t;}main(){char *s1="abc",

查看答案

以下能正确定义一维数组的选项是( )

以下能正确定义一维数组的选项是( )A.inta[5]={0,1,2,3,4,5}; B.chara[]={0,1,2,3,4,5}; C.chara={’A’

查看答案