第4题: [单项选择]已知n是一个int型变量,下列语句中错误的是( )。 A. long*p=new long[n]; B. long p[n]; C. long*p=new long(n); D. long p[10]; 参考答案:B 答案解析:[解析] 此题考查的是数组、指针及关键字new。说明一维数组的一般形式是:数组类型 数组名[数组长度];其中数组长度必须是整型常量或常量表达式。选项B)中,n是一个变量,不能做数组的长度,故选项B)错
第9题: [单项选择]The henpecked man was still smiling ______ the door opened and his wife came in. A. when B. since C. because D. unless 参考答案:A 答案解析:[解析] when表示前面的叙述所没有提到过的信息,意为“这时;突然”,句意为“他正笑着,这时门突然开了,他妻子走了进来。”
第32题: [单项选择]126, All employees are reminded that there is much satisfaction to be gained from () the community in some voluntary capacity. A. serving B. deserving C. reserving D. preserving 参考答案:A 答案解析:
括号处需要填入被in some voluntary capacity修饰、以the community为宾语的动词,符合句意的是(A)serving。