若有如下程序: #include <iostream> using namesp

题型:单项选择题

问题:

若有如下程序:
#include <iostream>
using namespace std;
int s=0;
class sample

static int n;
public:
sample (int i)

n=i;

static void add()

s+=n;

;
int sample: :s=0;
int main ()

sample a(2),b(5);
sample:: add ();
cout<<s<<end1;
return 0;

程序运行后的输出结果是( )。

A.2

B.5

C.7

D.3

考点:计算机等级考试C++二级C++笔试
题型:单项选择题

阅读理解。

     Every (每个) country (国家) has got its favourite food. Italians (意大利人) like to eat (吃) pizza. Indians

(印度人) like to eat hot (辣) food. Japanese (日本人) like to eat fish. Often they don't cook it. The English

favourite food is fish and chips (薯条).The American favourite food is fast (快) food, but it's not good for

health. We Chinese like to eat rice, noodles and vegetables. They are healthy food.

1. _______ like to eat pizza.

A. Chinese

B. American

C. English

D. Italians

2. Japanese like to eat _______.

A. pizza

B. hot food

C. fish

D. fast food

3. Daming likes to eat _______.

A. hot food

B. fast food

C. vegetables

D. pizza

4. Hamburgers are _______ food.

A. unhealthy

B. healthy

C. hot

D. good

5. The people in _______ often buy fish and chips.

A. America

B. England

C. China

D. Italy

题型:单项选择题

关于抑郁发作的诊断标准,不正确的是

A.病程应持续3月以上

B.自责、内疚、但不能达到妄想程度

C.特征性睡眠障碍为人睡困难

D.可出现精神运动性激越

E.严重者可出现思维贫乏

题型:单项选择题

下列哪两种细胞类型是支气管癌最常见的细胞类型()

A.腺癌

B.未分化癌

C.肺泡细胞癌

D.鳞癌

E.混合型

题型:单项选择题

注浆固管在施工中应该注意几个方面的问题?

题型:单项选择题

三相负载做星形连接时,线电流和对应的各相负载的相电流相等。

更多题库