c语言的一个简单程序不知道哪里错了
#include"stdio.h"struct Student
{
long num;
char name[20];
char sex;
int score;
};
void main()
{
struct Student student={54,"da",'d',513};
printf("输入学生的信息(学号,姓名,性别,分数):");
scanf("%ld%s%c%d",&student.num,student.name,&student.sex,&student.score);
printf("%ld\t%s\t%c\t%d\t",student.num,student.name,student.sex,student.score);
}