题目内容
写出下列程序运行结果:#include using namespace std;class A{int x;public:int z;void setx(int i){x=i;}int getx(){return x;}};class B: public A{int m;public:void setvalue(int a,int b,int c){setx(c);z=b;m=a;}void display(){cout<
查看答案
搜索结果不匹配?点我反馈