下列程序的执行结果是( )。 #inClude<iostream.h) #include(stdlib.h) class TestClass public: int x,y; TestClass()x=y=0; TestClass(int a,int b)x=a;y=b; void disp() cout<< x= <<x<< ,y= <<y<<endl; ; void main() TestClass s1(2,3); s1.disp();
A.x=2,y=2
B.x=2,y=3
C.x=3,y=2
D.x=3,y=3