题目内容
写出下列运行结果#includeusing namespace std;class point{private:int x1, x2;public:point(int x, int y) { x1 = x; x2 = y; }int x_cord() { return x1; }int y_cord() { return x2; }};int main(){point data(5, 6);cout << data.x_cord() << " " << data.y_cord() << endl;return 0;}
查看答案
搜索结果不匹配?点我反馈
更多问题