A.boy students
B.boys students
C.boy’s students
D.students of boys
第1题:
When William hurried home, he found that his mother ____already ____to hospital.
A、has; been sent
B、had; sent
C、has; sent
D、had; been sent
第2题:
第3题:
下列哪种方式是用class选择器定义样式的
A.p{color: red}
B.p,h1{color: red}
C.. one{color: red}
D.#two{color: red}
第4题:
有如下程序:
#include<iostream>
using narnespace std;
class ONE{
int e;
public:
ONE():c(O){cout<<1;)
ONE(int n):c(13){cout<<2;}
};
class TWO{
ONE oriel;
ONE one2,
public:
TWO(int m):one2(m){cout<<3;}
};
int main(){
TWO t(4);
return O;
}
运行时的输出结果是
A.3
B.23
C.123
D.213
第5题:
若有以下定义,则能打印出字母M的语句是()。 struct person { char name[12]; int num; }; struct person class[8]={"Linan",20,"zhanghai",18,"Maming",23,"wanghua",25,"chenqi",17};
A.printf("%c",class[3].name);
B.printf("%c",class[3].name[1]);
C.printf("%c",class[2].name[1]);
D.printf("%c",class[2].name[0]);
第6题:
若定义如下结构,则能打印出字母M的语句是()。 struct person{ char name[9]; int age;}; struct person class[10]={"Wujun",20, "Liudan",23, "Maling",21, "zhangming",22};
A.printf("%cn",class[3].name);
B.printf("%cn",class[2].name[0]);
C.printf("%cn",class[2].name[1]);
D.printf("%cn",class[3].name[1]);