在C++中,以下代码的运行结果是( )。
#include <iostream> using namespace std; int main() { int x = 5, y = 0; while (x--) { y++; } cout << y << endl; return 0; }
0
4
5
6