下面程序的执行结果是( )。 #include<iostream> using

题型:单项选择题

问题:

下面程序的执行结果是( )。
#include<iostream>
using namespace std;
class building
public:
building()
building(unsigned stories, float breadths, float lengths)
story = stories; breadth = breadths; length = lengths;
void getstory(void)
cout<<"story is:"<<story<<endl;
void getarea(void)
area = length*breadth*story;cout<<"area is:"<<area<<endl;
private:
unsigned story;
float length;
float breadth;
float area;
;
void main(void)

building b1,b2;building b3(10u,16.6,58.8);
b1.getstory();
b1.getarea();
b2.getstory();
b2.getarea();
b3.getstory();
b3.getarea();

A.story is:0
area is:0
story is:0
area is:0
story is:10
area is:9760.8

B.story is:null
area is:null
story is:null
area is:null
story is:10
area is:9760.8

C.前两个对象输出的结果是不定的,后一个对象的结果正确

D.前两个对象没有初值,因此程序编译时出错

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

述哪一项不是引起血管内外液体交换平衡失调的因素()

A.毛细血管流体静压

B.微血管壁通透性

C.淋巴回流

D.血浆晶体渗透压

E.血浆胶体渗透压

题型:单项选择题

男,28岁,突发呼吸困难,结合图像,最可能的诊断是()

A.右上肺大叶性肺炎

B.右上肺奇叶

C.右主肺动脉栓塞

D.右肺中央型肺癌并右上肺不张,淋巴转移

E.右上肺小叶性肺炎

题型:单项选择题

安全阀的总排汽量、必须大于锅炉最大连续蒸发量、并在锅炉和过热器上所有安全阀开启后、锅筒内蒸汽压力不得超过设计压力的()。

A.1.02

B.1.05

C.1.10

D.1.25

题型:单项选择题

被誉为“同光体之魁杰”的是( )

A.郑孝胥

B.陈衍

C.沈曾植

D.陈三立

题型:单项选择题

DOS环境中,扩展名是BAK的文件称作()。

A.文本文件;

B.备用文件;

C.批处理文件;

D.系统文件。

更多题库