类中包含了一个静态成员函数,则main函数中和P.f1(P);语句具有同样功能的语句为______。 include<iostream.h> class M {public: M(int A){A=a;B+=a;} static void f1(M m); private: int A; static int B;}; void M::f1(M m) { cout<<“A=“<<m.A((end1; cout<<“B=”<<m.B<<en
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】It’s natural for young people to have a very strong desire for adventure and romance.
【简答题】Don’t you think your schoolbag is too heavy to bear? The e-schoolbag will free you from the weight. It is said that e-schoolbags are going to be brought into use in Chinese middle schools soon. An exp...