定义以下结构体类型structS{inta;floatf;};设每个int类型数据占4个字节,则语句printf("%d",sizeof(S))的输出结果为()。
查看答案
有structstudent{intage;intnum;}stu1,*p=&stu1;则以下对结构体变量stu1中成员age的正确引用是()
A. stu1.age
B. student.age
C. stu1->age
D. (*p)->age
定义以下结构体数组struct{intnum;charname[10];}x[3]={1,"china",2,"USA",3,"England"};语句printf("%d,%s\n",x[1].num,x[2].name)的输出结果为()
A. 2,USA
B. 3,England
C. 1,china
D. 2,England
( )是垂直交通空间()。
A. 走道
B. 楼梯
C. 门厅
D. 过厅
当走道两侧布置房间时,学校过道宽度为()。
A. 2.1~3.0
B. 2.7~3.0
C. 2.1~2.4
D. 1.5~2.1