主观

在下面程序的横线处填上适当的字句,使该程序执行结果为40。

#include ﹤iostream.h﹥

class Test

{

public:_________;

Test (int i=0)

{ x=i+x; }

int Geytnum( )

{ return Test:: x +10; }

};

_________;

void main( )

{

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

}

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

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服