结构初始化???????
#include<stdio.h>#include<string.h>
struct date
{
int year;
int month;
int day;
};
struct addlist
{
char name[8];
char stnm[8];
char email[20];
struct date birthday;
};
void main()
{
struct addlist one={"李明","0454989","liming@163.com","?????????????这里怎么初始化啊"};
printf(" name number email birthday\n");
printf("%s %s %s %d.%d.%d.",one.name,one.stnm,one.email,one.birthday.year,one.birthday.month,one.birthday.day);
}