大家知道这种报错怎么解决吗,两个参数都是一一对应的,但是一直显示报错。
scanf_s输入字符串时,后面要加一个变量指定字符串最大长度scanf_s("%d %s %f",&student[1].num,student[1].name,20,&student1.score);