设有类型说明:enumcolor{red,yellow=3,white,black};则执行语句cout<<white<<’/n’;后输出的结果是________。
A.4
B.3
C.2
D.1
A.4
B.3
C.2
D.1
第2题
设有以下结构类型说明和变量定义,则变量a在内存所占字节数是______。
Struct stud
{ char hum[6];
int s[4];
double ave;
} a,*p;
第3题
设有以下结构类型说明和变量定义,则变量a在内存所占字节数是______。
Struct stud
{ char hum[6];
int s[4];
double ave;
} a,*p;
第4题
设有以下说明语句
typedef struct
{ int n;
char ch[8];
}PER;
则下面叙述中正确的是( )。
A.PER是结构体变量名
B.PER是结构体类型名
C.typedef struct是结构体类型
D.struct是结构体类型名
第5题
设有以下说明语句,则下面的叙述中不正确的是( )。
struct ex
(int x;float y;char z; )example;
(A)struct结构体类型的关键字 (B)example是结构体类型名
(C)x,y,z都是结构体成员名 (D)struct ex是结构体类型
第6题
第7题
A.struct是结构体类型的关键字
B.structstu是用户定义的结构体类型
C.stutype是用户定义的结构体类型名
D.a和b都是结构体成员名
第8题
A.struct是结构体类型的关键字
B.example是结构体类型名
C.x,y,z都是结构体成员名
D.struct ex是结构体类型
第9题
第10题
Whenever there was a thick fog in the city the first person to arrive late usually wrote the reason "Delayed (延误) by fog" and then everyone else after him then just put "ditto" below.
One morning the first man who arrived late wrote "My wife has given birth to a baby this morning" instead of "Delayed by fog." Twenty or thirty people after him put "ditto" below as usual.
The office hour started ______ .
A.as soon as the manager arrived
B.at nine a. m. sharp
C.before the young woman came to draw the red line