下列程序,为什么输出的结果是 120?
int main(int argc, char* argv[])
{
union u_type
{
int i;
double x;
float f;
};
struct str_type
{
char str[100];
union u_type u[2];
};
printf("%d\n",sizeof(struct str_type));
}