有以下程序 main(int argc, chara*argv[]) { int

题型:单项选择题

问题:

有以下程序 main(int argc, chara*argv[]) { int n,i=0; while(argv[1][i]! =’\0’) { n=fun();i++;} cout<<n*argc<<endl; } int fun() { static int s=0; s+=1; return s; } 假设程序经编译、连接后生成可执行文件exam.exe,若键入以下命令行 exam 123<回车> 则运行结果为

A.6

B.8

C.3

D.4

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

阅读理解。

      What's the most important thing for you to have in your life? Somebody mentions hard-work,

 others suggest knowledge, love and luck.

      If you arrange (排列) the 26 English letters in order and use numbers to represent each of them,

 for example, 1 for a, 2 for b, 3 for c…26 for z, you can change an English word into a number. So

 hard-work becomes 8+1+18+4+23+15+18+11=98, meaning 98 is its mark. Knowledge: 11+14

 +15+23+12+5+4+7+5=96, love: 12+15+22+5=54, and luck: 12+21+3+11=47, a small mark.

 None of these words can give one a full mark. What about money? It can't , either.

      Then what else? Don't be worried. You can always find an answer to a problem in your life,

 when you change your way of looking at things or doing things, or your attitude.Yes, attitude is the

 word. See for yourself: attitude: 1+20+20+9+20+21+4+5=100, a full mark.

      Different attitudes lead to different courses of life. Most time people hope for a better life. It is

 possible that they will have a better life if they chang their attitudes. When you change your manner

 and became friendly towards others, you'll meet more smiling faces towards you. In the same way,

 if you take a positive attitude towards failure, you'll find it's also rewarding (有益的) though it has

 caused you losses (损失).

1. The writer thinks _____ is the most important thing in a person's life.

 A. hard-work.

B. knowledge

C. money

D. attitude

2. What is the mark of the word money according to the passage?

A. 73

B. 72

C. 75

D. 62

3. According to the passage, if you meet with problems, the best way is to _____.

A. ask for help from others

B. hope to be lucky

C. change your attitude

D. try math-solving ways

4. From the passage we can learn that _____.

A. diffrent attitudes come from different courses of life

B. sometimes failure can bring you good if you take a positive attitude

C. math can solve every problem easily in our daily life

D. none of the English words except "attitude" is 100 or more

题型:单项选择题

中央银行是一国金融体系的核心,是调节全国货币金融活动的最高权力机构,它可以根据全国经济发展的状况制定和执行货币政策,控制和调节货币供应量,对经济生活进行干预和控制。而中央银行对经济生活进行干预、调控,又体现在其各项业务活动之中。 

根据以上资料,回答下列问题。 

中国人民银行开展各项金融业务的活动,按其对象,可分为()。

A.执行货币政策而开展的业务 

B.金融机构提供服务的业务 

C.政府部门提供服务的业务 

D.社会公众提供服务的业务

题型:单项选择题

爱岗敬业就是要不断学习,勇于创新。

题型:单项选择题

环曲面软性角膜接触镜设计类型()的形式,较适应于角膜散光眼。

A、内环曲面外球面

B、内球面外球面

C、内球面外环曲面

D、内环曲面外环曲面

题型:单项选择题

轮捕轮放的主要作用?

更多题库