大佬们帮忙纠正一下哪里出了错误 谢谢
#include<stdio.h>#include<string.h>
typedef struct tagData{
int year;
int mother;
int day;
}Data;
typedef struct tagStudent{
char name[20];
char sex[4];
char age;
Data birthday;
}Student;
int main(int argc,const char*argv[]){
Student ss[2]={{"张三","男","23",{2000,2,2}},{"李四","女","20",{1996,2,2}}};
printf("name=%d\n",ss[0].name);
return 0;
}
//错误提示:15 76 C:\Users\WP-S10\Documents\新建文件夹\未命名1.cpp [Error] invalid conversion from 'const char*' to 'char' [-fpermissive]