下⾯C++代码执⾏后输出是( )
>int tnt = 0; for (int i = -1000; i < 1000; i++) tnt += i; cout << tnt << endl;
-1000
0
999
1000