单项选择题下列程序的执行结果是( )。 #include<iostream.h> #include<stdlib.h> class TestClass public: intx,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 sl(2,3); s1.disp();
单项选择题设有定义int a=1;float f=1.2;char c='a';,则下列表示错误的是