题目内容:
已知类Myclass的定义如下class MyClass{
public:
void function1(MyClass&c){cout<<c.data;}
static void function2(MyClass&c){cout<<c.data;}
void function3(){cout<<data;}
static void function4(){cout<<data;}
private:
int data;
}; A.function1
B.function2
C.function3
D.function4
参考答案:
答案解析: