已知函数的原型是"void f(int*x, int &y);",变量v1、v2的定义是”intv1,v2.",下列调用语句中,正确的是
f(v1,v2);
f(v1,&v2);
f(&v1,v2);
f(&v1,&v2);
发表评论