struct student { int num; char sex; char name[20]; float score; } st ; 给st的num成员赋值为16,应写出的语句是 ;
举一反三
- struct student { int num; char sex; char name[20]; float score; } st ; 其中num是结构体 ________
- struct student { int num; char sex,name[20]; float score; }st1,*p; p=&st1; 不出现st1,却能给st1的num成员赋值为16的语句是 ;
- struct student{ int num;char sex,name[...st1的num成员赋值为16的语句是 ;
- struct student{ int num;char sex;char...num成员赋值为16,应写出的语句是 ;
- 以下对结构体类型的变量定义中不正确的是 。 A: B: define STUD struct student STUD {long num; char name[20]; char sex; float score;}; STUD stud1,stud2; C: struct student {long num; char name[20]; char sex; float score; }stud1,stud2; D: struct {long num; char name[20]; char sex; float score; } stud1,stud2; E: struct {long num; char name[20]; char sex; float score; }student;struct student stud1,stud2;