#include "stdafx.h"
#include "stdio.h"
#define NAMESIZE 20
#include "stdlib.h"
struct date
{
int year,month,day;
};
struct student
{
long number;
char name[NAMESIZE];
struct date birthday;
int score;
};
int _tmain(int argc, _TCHAR* argv[])
{
struct student p;
printf("the p length: %d\n",sizeof(p));
printf("the struct student length: %d\n",sizeof(struct student));
return 0;
}