下面程序对一维坐标点类Point进行了运算符重载: #include <iostream> using namespace std; class Point public: Point(int val)x=val; Point& operator++( )x++;return*this; Point operator++(int)Point old=*this;++(*this);return old; int GetX( )eonst t return x; private: int x; ; int main( ) Point a(10); cout<<(++
A..GetX( ); <br> cout<<a++.GetX( ); <br> return 0; <br> <br> 编译和运行情况是A) 运行时输出1011
B.运行时输出1111
C.运行时输出1112
D.编译有错