A.PROC/ENDP
B.STRUC/ENDS
C.MACRO/ENDM
D.SEGMENT/ENDS
第3题
A. logistics industry has begun to employ the()structur
B. opening
C. systematical-
D. conservative
E. technical
第4题
A.a copy of explanation of words and structures
B.a timetable for activities
C.transcribed procedure of classroom instruction
第5题
()
A.Decompostion structures
B.Layer structures
C.Implementation structures
D.Component-and-connector structures
第6题
A.struct {int x; float y; int a[2]; unsigned b[3]; char name[10]; };
B.structstu { unsigneda[3]; unsigned b[4]; }x; int*p=&x.a;
C.struc tsu { int a; float x[4]; }y={1,1.0}; floatdat a=y.x;
D.stmct nd {int a,b; unsigned c[2]=5; };
第7题
有以下程序 struc t STU{ char name [10] int num; void f1(struct STU c) { struct STU b={"LiSiGuo",2042}; c=b; } void f2(struct STU *c) { struct STU b={"SunDan",2044); *c=b; } main () { struct STU a={"YangSan",2041},b={"WangYin",2043}; f1 (a); f2 (&b); printf ("%d %d\n" ,a.num,b.num); } 执行后输出结果是
A.2041 2044
B.2041 2043
C.2042 2044
D.2042 2043
第8题
A.8
B.6
C.10
D.12
第9题
设有结构体类型定义: struct try { int one; float two; }*str;若要动态开辟一个结构单元,使指针str指向其首地址,正确的语句是______。
A.str=(try*)malloc(sizeof(try));
B.*str=(struct try*)malloc(sizeof(struct try));
C.str=(strucy try*)malloc(sizeof(struct try));
D.str=(struc try)malloc(sizeof(struct try));
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!