C编译时出错!
#include <stdio.h>struct student
{
char sname[10];
float score[3];
float sum;
}stu;
struct student *p=&stu;
void main()
{
stu.score[1]=89;
p->score[0]=89;
}
编译时出错! stu.score[1]=89;p->score[0]=89;这两个语句编译出错!
2017-07-02 02:04
2017-07-02 08:16
2017-07-02 18:39