你的stu得写到max_grade函数上面,不然函数识别不到
调用max_grade函数传递的参数类型不匹配,你在主函数定义的stu是数组,而max_grade函数的参数不是指针,把max_grade函数的参数改成Student *stu就可以了。