赞
踩
#include<stdio.h> int main() { union { long a; int b; char c; } m; printf("%d",sizeof(m)); return 0; }
共用体中的所有元素都是在共用存储空间.