题目内容
(请给出正确答案)
提问人:网友tuad999
发布时间:2022-01-07
[主观题]
在下面程序的底画线处填上适当的字句,使该程序执行结果为40。 #include <iostream.h> class
在下面程序的底画线处填上适当的字句,使该程序执行结果为40。 #include <iostream.h> class Test { public: static int x; Test (int i=0) {x=i+x;} int Getnum() {return Test::x+7;} }; _______; void main() {Test test; cout< <test.getnum()> < <endl;;>
简答题官方参考答案
(由简答题聘请的专业题库老师提供的解答)
查看官方参考答案