单项选择题
有以下程序:
#include <stdio.h>
main()
union
charch[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
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
若要求从键盘读人含有空格字符的字符串,应该使用函数( )。
A.getc()
B.gets()
C.getchar()
D.scanf()
点击查看答案&解析
单项选择题
设有如下关系表: 则下列操作中,正确的是( )。
点击查看答案&解析
相关试题
有以下程序: #include <stdio.h> m...
执行以下程序后,test.txt文件的内容是(...
有以下程序: #include <stdio.h> i...
有以下程序:#include <stdio.h>fun(...
有以下程序:#inelude <stdio.h>main...