#include<stdio.h>
struct sample
{
short i;
char ch;
float f;
};
typedef struct sample SAMPLE;
int main()
{
printf("bytes=%d\n",sizeof(SAMPLE));
return 0;
}
共用体2
最新推荐文章于 2023-09-04 10:57:03 发布
#include<stdio.h>
struct sample
{
short i;
char ch;
float f;
};
typedef struct sample SAMPLE;
int main()
{
printf("bytes=%d\n",sizeof(SAMPLE));
return 0;
}