【C17】
A.structure
B.pattern
C.process
D.model
第1题
下列说法错误的是()。
A.下列结构体定义时,占据了5个字节的空间 struct student {int num; int age; char sex; }
B.结构体的成员名可以与程序中的变量名相同
C.对结构体中的成员可以单独使用,它的作用相当于普通变量
D.结构体可以嵌套定义
第2题
下列说法错误的是()。
A.下列结构体定义时,占据了5个字节的空间 struct student {int num; int age; char sex; }
B.结构体的成员名可以与程序中的变量名相同
C.对结构体中的成员可以单独使用,它的作用相当于普通变量
D.结构体可以嵌套定义
第3题
下列说法错误的是()。
A.下列结构体定义时,占据了5个字节的空间 struct student {int num; int age; char sex; }
B.结构体的成员名可以与程序中的变量名相同
C.对结构体中的成员可以单独使用,它的作用相当于普通变量
D.结构体可以嵌套定义
第4题
下列说法错误的是()。
A.下列结构体定义时,占据了5个字节的空间 struct student “nt num; int age; char sex; }
B.结构体的成员名可以与程序中的变量名相同
C.对结构体中的成员可以单独使用,它的作用相当于普通变量
D.结构体可以嵌套定义
第5题
下列说法错误的是()。
A.下列结构体定义时,占据了5个字节的空间 struct student {int num; int age; char sex; }
B.结构体的成员名可以与程序中的变量名相同
C.对结构体中的成员可以单独使用,它的作用相当于普通变量
D.结构体可以嵌套定义
第6题
A、struct teacher {int num; int age; }; struct teacher teach1;
B、struct teacher {int num; int age; }teach1;
C、struct {int num; int age; }teach1;
D、struct {int num; int age; }teacher; struct teacher teach1;
第7题
A、struct student { int num; int age; } stud1;
B、struct { int num; int age; } stud1;
C、typedef struct student { int num; int age; }STUDENT; STUDENT stud1;
D、struct { int num; int age; }; struct student stud1;
第8题
A、#define STUDENT struct student STUDENT{ int num; float age; }std1;
B、struct student{ int num; float age; }std1;
C、struct{ int num; float age; }std1;
D、struct{ int num; float age; }student; struct student std1;
第9题
第10题
A、struct student { char num[5]; int score; }; student stu1,stu2;
B、struct student stu1,stu2; struct student { char num[5]; int score; };
C、struct student { char num[5]; int score=96; }; struct student stu1,stu2;
D、struct student { char num[5]; int score; }; struct student stu1,stu2;
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!