问题
单项选择题
已知字符’0’的ASCII码的十进制数为48,并且数组的第0个元素在低位,有以下程序
#include<stdio.h>
main()
unionint 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