单项选择题
Function void f() is a public member function in class A. Which of the following statements is wrong?
A、A a; a.f();
B、A a; A*a1 = &a; a1->f();
C、A a; A &a1 = a; a1->f();
D、A a; A &a1 = a; a1.f();
Function void f() is a public member function in class A. Which of the following statements is wrong?
A、A a; a.f();
B、A a; A*a1 = &a; a1->f();
C、A a; A &a1 = a; a1->f();
D、A a; A &a1 = a; a1.f();