typedef struct{
int tournamentNo;
char tournamentName[61];
char toutnamentDate[15];
char tournamentCity[21];
}Tournament;
printf(":%d",sizeof(锦标赛));
结果:104
实际:61 + 15 + 21 + 4 = 101
typedef struct{
int tournamentNo;
char tournamentName[20];
char toutnamentDate[15];
char tournamentCity[21];
}Tournament;
printf(":%d",sizeof(锦标赛));
结果:60
实际:20 + 15 +21 +4 = 60
为什么不同呢?