c语言的一些题目高手请进来
#include <stdio.h>#pragma pack(1)
typedef struct
{
int no;
char *name;
char sex;
float score;
}STUD;
union u
{
int i;
char *p;
float f;
double d;
STUD s;
};
main()
{
printf("%d,%d\n",sizeof(STUD),sizeof(union u));
}
解释这一题的计算过程