设有以下定义struct student{ int age; int num;}stu[5],*p=stu;int i;stu[0].num=10;则以下语句不正确的是 A: i=p->num; B: i=stu[0].num; C: i=(*p).num; D: p=&student.num;
设有以下定义struct student{ int age; int num;}stu[5],*p=stu;int i;stu[0].num=10;则以下语句不正确的是 A: i=p->num; B: i=stu[0].num; C: i=(*p).num; D: p=&student.num;
以下表达式相互等价的是: A: student.num+100 和 (student.num)+100 B: student.num 和 num C: pupil.num 和 student.num D: student.birth.year、birth.year 和 student.year
以下表达式相互等价的是: A: student.num+100 和 (student.num)+100 B: student.num 和 num C: pupil.num 和 student.num D: student.birth.year、birth.year 和 student.year
设有以下定义:[br][/br]struct student[br][/br]{[br][/br]int age;[br][/br]int num;[br][/br]}stu[5],*p=stu;[br][/br]int i;[br][/br]stu[0].num=10;[br][/br]则以下语句不正确的是()。 A: i=p->num B: i=stu[0].num C: i=(*p).num D: p=&student.num;
设有以下定义:[br][/br]struct student[br][/br]{[br][/br]int age;[br][/br]int num;[br][/br]}stu[5],*p=stu;[br][/br]int i;[br][/br]stu[0].num=10;[br][/br]则以下语句不正确的是()。 A: i=p->num B: i=stu[0].num C: i=(*p).num D: p=&student.num;
以下变量定义,错误的是: A: struct student{int num, char name[20];} s; B: struct {int num, char name[20];} s; C: struct student{int num, char name[20];}; struct student s; D: struct student{int num, char name[20];} ; student s
以下变量定义,错误的是: A: struct student{int num, char name[20];} s; B: struct {int num, char name[20];} s; C: struct student{int num, char name[20];}; struct student s; D: struct student{int num, char name[20];} ; student s
以下对结构类型变量的定义中不正确的是( ) 未知类型:{'options': ['#define STUDENT struct studentSTUDENT{int num;float age;}std1;', 'struct student{int num;float age;}std1;', 'struct student{int num;float age;float age;}std1;', 'struct student{int num;}student;struct student'], 'type': 102}
以下对结构类型变量的定义中不正确的是( ) 未知类型:{'options': ['#define STUDENT struct studentSTUDENT{int num;float age;}std1;', 'struct student{int num;float age;}std1;', 'struct student{int num;float age;float age;}std1;', 'struct student{int num;}student;struct student'], 'type': 102}
以下对结构体类型变量的定义中不正确的是( )。 A: struct{ int num; float age; }student; struct student std1; B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: int num; float age; }std1; D: struct{ int num; float age; }std1;
以下对结构体类型变量的定义中不正确的是( )。 A: struct{ int num; float age; }student; struct student std1; B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: int num; float age; }std1; D: struct{ int num; float age; }std1;
下列选项中不能够定义一个结构体类型变量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;
下列选项中不能够定义一个结构体类型变量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;
以下结构体类型变量的定义中不正确的是( )。 A: B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: struct student { int num; float age; } std1; D: struct { int num; float age; }std1; E: struct{ int num; float age; } ; struct student std1;
以下结构体类型变量的定义中不正确的是( )。 A: B: define STUDENT struct student STUDENT{ int num; float age; }std1; C: struct student { int num; float age; } std1; D: struct { int num; float age; }std1; E: struct{ int num; float age; } ; struct student std1;
以下对结构类型变量的定义中错误的是( ) A: B: define STUDENT struct student STUDENT {int num;float age;} std1; C: struct {int num; float age; } std1; struct student std1; D: struct student {int num; float age; } std1; E: struct {int num; float age; } std1;
以下对结构类型变量的定义中错误的是( ) A: B: define STUDENT struct student STUDENT {int num;float age;} std1; C: struct {int num; float age; } std1; struct student std1; D: struct student {int num; float age; } std1; E: struct {int num; float age; } std1;
若有以下定义和语句:struct student { int age,num ; }; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; int main() { struct student *p=stu; … }则以下正确的引用是()。 A: (p++)->num B: ++p->num C: (*p).num D: p->num
若有以下定义和语句:struct student { int age,num ; }; struct student stu[3]={{1001,20},{1002,19},{1003,21}}; int main() { struct student *p=stu; … }则以下正确的引用是()。 A: (p++)->num B: ++p->num C: (*p).num D: p->num