运行以下程序,输出结果是()
int func(int &y) { y -= 5; return 1; } int main() { int x = 10, y = 5; if (x > y || func(y)) cout << y; return 0; }
0
5
10
1