In Geat Expectations, it turns out that Pip was sent to London to receive education by ______.
A、Miss Havisham
B、Mr. Magwitch
C、Miss Estella
D、Joe Gargery
A、Miss Havisham
B、Mr. Magwitch
C、Miss Estella
D、Joe Gargery
关于下面程序的说法,正确的是()。 #include <iostream> using namespace std; class x { int a; public: x(){a=3;} int geta() {cout<<a<<endl; return a; } }; class y: x { int b; public: x:: geta; //A void result () {b=geta ()+8; cont<<b<<endl;} }; void main () { y yy; //B yy. result(); yy. geta(); //C }
A.A行错误,应写成“x::geat()”
B.B行错误,应写成“y yy();”
C.C行错误,不能对私变量引用
D.没有错误,其输出结果为: 3 11 3
A.prospects
B.outlooks
C.expectations
D.spectacles
A.amount
B.expertise
C.landmark
D.gear
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!