下列声明结构体变量错误的是( )。
A. struct student{int num;char name[10];char sex;}stu1,stu2;
B. struct student{int num;char name[10];char sex;};struct student stu1,stu2;
C. struct student{int num;char name[10];char sex;};student stu1,stu2;
D. struct student{int numchar name[10]char sex};struct stu1,stu2;