通过海量题库、编程比赛和实时排名,系统化提升您的编程能力。
已知函数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;
运行这个程序段的输出是( )。