#include<stdio.h>
#include<string.h>
struct birthday
{
int month;
int day;
int year;
};
struct student
{
int num;
char name[8][8];
char sex8[8][8];
int age;
struct birthday;
char addr[8][8];
};
struct student a={
17589986523,
"LiFeng",
"M",
29,
{
6,
1,
1992,
},
"deijing",
};
char name[8][8];
8个长度为8的字符串。改为char name[8];下同。
int num 放不下这么长的数。改用 long long num