struct worker{
char name[10];
int wage;
}th[]={"xiaoming", 1000}, {"xiaowang", 1500}, {"lihua", 2000}, {"zhangsan", 5000}, {"wangming", 8000};
输出时最后一行的数组报错。
已经运行
+