程序员乐园
#include <iostream> using namespace std; void sneezy(int &x) { x += 20; } int main() { int times = 20; sneezy(times); cout <<times<<endl; return 0; }