单选题 已知函数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
【答案解析】