若有下列语句,则以下引用方式不合法的是( )。 struct student { int num; int age; }; struct student stu[3]={{101,20}, {102,19}, {103,20}}, *p=stu;
举一反三
- 若有以下定义语句,则以下错误的引用是( )。 struct student {int num,age;}; struct student stu[3]={{101,20},{102,19},{103,18}},*p=stu;
- struct student { int age; char num[8];}; struct student stu[3]={{20,"200401"},{21,"200402"},{19,"200403"}}; struct student *p=stu; 以下选项中引用错误的是___ __。
- 若有以下定义和语句: struct student {int num ;int age;}; struct student stu[3]={{l001,20},{1002,19},{1003,2l}}; main() {struct student *p;p=stu; ... } 则下列引用中不正确的是
- 若有以下说明和定义语句,则下面引用形式中不正确的是 ( )。 struct student { int age; int num; }; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; struct student *p; p=stu;
- 下列选项中不能够定义一个结构体类型变量stu的是 。 A: struct student { int num; int age; } stu; B: struct student { int num; int age; }; student stu; C: struct {int num; int age; } stu; D: struct student {int num; int age; }; struct student stu;