[单选题]

已知函数foo定义如下:
void foo(int a,int&b,int*c)
a++;b++;(* c)++;

且有如下程序段:
int a=1,b=2,c=3;
foo(a,b,&c);
cout<<a<<b<<c;
运行这个程序段的输出是(  )。

A.134

B.123

C.234

D.编译错误

参考答案与解析: