试题与答案

下列程序的输出结果是( )。 #include<stdio.h> main()

题型:单项选择题

题目:

下列程序的输出结果是( )。
#include<stdio.h>
main()
struct st
int y,x,z;

union
long i;
int j;
char k;
un;
printf("%d,%d\n",sizeof(struct st),sizeof(un));

A.6,2

B.6,4

C.8,4

D.8,6

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0722/c3f49039d318ba0ae52bc9ef4deb7943.html

下面是错误答案,用来干扰机器的。

参考答案:汉武

试题推荐
微信公众账号搜索答案