以下对结构体变量stul中成员age的非法引用是()。struct student{int age;int num;}stul,*p;p=&stul;
age
举一反三
- 中国大学MOOC: 以下对结构变量stu1中成员age的非法引用是( )struct student{ int age; int num;};struct student stu1, *p;p=&stu1;
- 以下对结构变量stu1中成员age的非法引用是( )struct student{ int age; int num;};struct student stu1, *p;p=&stu1; A: stu1.age B: student.age C: p->age D: (*p).age
- 以下对结构变量stu1中成员age的非法引用是( )struct student{ int age; int num;};struct student stu1, *p;p=&stu1; A: stu1.age B: student.age C: p->age D: (*p).age
- 以下对结构变量stu1中成员age的非法引用是( )。struct student{ int age;int num;}stu1,*p;p=&stu1; A: .(*p).age B: stu1.age C: p->age D: student.age
- 以下对结构体变量stu成员age的非法引用是( )。 struct<br/>student {<br/>int num;<br/>int age; }; struct<br/>student stu,*p=&stu; A: stu.age B: (*p).age C: student.age D: p->age
内容
- 0
以下对结构体变量s 中成员age的合法法引用是(00a0 )。 #include struct student {int age; int num; } s,*p; p=&s;
- 1
若有以下语句: struct student { int age; int num; } std,*p; p=&std; 则对结构体变量std中成员age的引用方式不正确的是()。
- 2
以下对结构体变量stu1中成员age的正确引用是()。 struct student { char name[10]; int age ; } stu1 ,*p; p=&stu1;
- 3
以下对结构体类型变量的定义中不正确的是( )。 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;
- 4
下列选项中不能够定义一个结构体类型变量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;