题目内容
有如下程序:#include using namespace std;class Test{public: Test(){n+=2;} ~Test(){n-=3;} static int getNum(){return n;}private: static int n;};int Test::n=1;int main(){ Test*p=new Test; delete p; cout<<"n="<
查看答案
搜索结果不匹配?点我反馈
更多问题