下面代码打印结果为()union package{ c...
发布于 2022-03-03 14:11:34
下面代码打印结果为()
union package
{
char head
int body
}
struct message
{
char id
int crc
union package pack
}
int main()
{
printf("size=%d\n",sizeof(struct message))
return 0
}
union package
{
char head
int body
}
struct message
{
char id
int crc
union package pack
}
int main()
{
printf("size=%d\n",sizeof(struct message))
return 0
}
登录后免费查看答案
关注者
0
被浏览
10