单选题
已知字符'0'的ASCII码的十进制数为48,并且数组的第0个元素在低位,有以下程序 #include<stdio.h> main() { union{int i[2];long k:char c[4];}r,*s=&r; s->i[0]=0x39;s->i[1]=0x38;printf("%c/n",s->c[0]); } 程序运行后的输出结果是 ( )
A、
39
B、
9
C、
38
D、
8
【正确答案】
B
【答案解析】
提交答案
关闭