与下面C++代码的输出效果不一致的代码是( ):
int i; for (i = 0; i < 10; i++) cout << i;
int i = 0; while (i < 10){ cout << i; i += 1; }
int i = 0; while (i < 10){ i += 1; cout << i; }
int i = 0; while (true){ cout << i; i += 1; if (i >= 10) break; }
int i = 0; while (true){ if (i >= 10) break; cout << i; i += 1; }