下面C语言语句定义了_________。 struct student{ int num; char name[20]; char sex; }s1,s2;
A.结构类型s1,s2
B.结构类型标签student和结构变量s1,s2
C.结构变量student
D.链表student
- · 有4位网友选择 D,占比44.44%
- · 有2位网友选择 C,占比22.22%
- · 有2位网友选择 A,占比22.22%
- · 有1位网友选择 B,占比11.11%
A.结构类型s1,s2
B.结构类型标签student和结构变量s1,s2
C.结构变量student
D.链表student
A、year=1985; month=10; day=1;
B、birth.year=1985; birth.month=10; birth.day=1;
C、s.year=1985; s.month=10; s.day=1;
D、s.birth.year=1985; s.birth.month=10; s.birth.day=1;
A、s.birth.year=1989; s.birth.month=11; s.birth.day=12;
B、s.year=1989; s.month=11; s.day=12;
C、year=1989; month=11; day=12;
D、birth.year=1989; birth.month=11; birth.day=12;
A、scanf("%s",s1.name);
B、scanf("%c",&s1.sex);
C、scanf("%d",&s1.age);
D、scanf("%c",&s1);
A、26
B、27
C、28
D、29
A.scanf("%d",&(*p).age);
B.scant("%s",&std.name);
C.scanf("%c",&std[0].sex);
D.scanf("%c",&(p->sex));
A、(*p).age
B、std->age
C、*std->age
D、*p.age
B、ACEG
C、EGIK
D、EFGHIJKL
A、定义了结构体类型名type_date
B、定义了结构体变量type_date
C、定义了结构体type_date
D、这个定义是错误的
A、6
B、5
C、7
D、8
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!