题目内容
下列程序的运行结果为【 】。
include <iostream. h>
class myclass
{
private:
int a, b, c;
public:
void fun()
{
int a;
a=10;
this->,a=5;
b=6;
this->c=7;
cout<<"a="<<a<<",this->a="<<this->a<<endl;
}
};
void main()
{
myclass obj1;
obj1.fun()
}
查看答案
搜索结果不匹配?点我反馈