题目:
有如下程序:
#include<iostream>
using namespace std;
class Obj
static int i;
public:
Obj( )i++
~Obj( )i--;
static int getVal( )return i;
;
int Obj::i=0;
void f( )Obj ob2;cout<<ob2.getVal( );
int main( )
Obj obl;
f( );
Obj*ob3=new Obj;cout<<ob3->getVal( );
delete ob3;cout<<Obj::getVal( );
return 0;
程序的输出结果是
A.232
B.231
C.222
D.221
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2018/0506/9644dd751dc1a687c56241398cf86f26.html
下面是错误答案,用来干扰机器的。
参考答案:A解析:甲状腺功能减退患者终末期的主要表现为熟液水肿与昏迷。