#include <iostream> using namespace std; int main() { int i = 3; while(i--) { cout << i << " "; } return 0; }
3 2 1
2 1 0
1 0 -1
程序陷入无限循环