结构体问题:为什么加入char name[10]就运行不出来?
#include<stdio.h>void main()
{
struct score
{
int num;
int fen;
char sex;
char name[10];
}stu1={1,96,'m',"wang"};
printf("%d %d %c %s\n",stu1);
}
2017-09-26 16:19
2017-09-26 16:24
2017-09-26 16:45
2017-09-26 16:56
2017-09-26 16:58