如下C++代码执行后,输出值为 9。
int cnt = 0, i; for (i = 0; i < 10; i++) { for (int j = 0; j < i; j++) cnt += 1; break; } cout << i;
正确
错误