

#include <iostream>
int reset(int,int&);
using std::endl;
using std::cout;
int main() {
int x = 5,y = 8;
cout << y<< endl
<< reset(x, y)<<endl
<< x<< std::endl;
}
int reset(int x_p,int& y_p) {
y_p = 9;
//std::cout << "y_p的地址为:"<< & y_p << std::endl;
return x_p + 1;
}