#GESP4221. [GESP]L3-202609-Q4221-S

[GESP]L3-202609-Q4221-S

下面程序的运行结果是( )

#include <iostream>
using namespace std;
int main() {
    int x = 1;
    for (int i = 0; i = 0; i <= 5) {
        x++;
    }
    cout << x << endl;
    return 0;
}

{{ select(1) }}

  • 1
  • 10
  • 15
  • 程序编译错误