下列程序的运行结果是0&nbsp 0*1&nbsp 2*,请将横线处缺...
发布于 2022-03-03 15:12:59
下列程序的运行结果是0 0*1 2*,请将横线处缺失程序补充完整()
class Point { public: Point( ) {X=xxY=yy} void show(){cout<<X<<" "<<Y<<"*"} private: int X,Y } int main() { Point m1 Point m2(1,2) m1.show() m2.show() }
登录后免费查看答案
关注者
0
被浏览
18