主观

在下面程序的底藏线处填上适当的字句,使该程序执行结果为40,x为静态成员。

include ﹤iostream.h﹥

class Test

{ public:

_____①_____;

Test (int i=0)

{ x=i+x; }

int Getnum( )

{ returm Test:: x+10; }

};

_____②_____;

void main( )

{

Test test;

cout﹤﹤test. Getmum( )﹤﹤ endl;

}

参考答案
您可能感兴趣的试题
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服