下面的 C++ 代码之后的输出是( )。
int tot = 0, i;
for (i = -5; i < 5; i++)
if (not(i % 3 != 0))
tot += 1;
cout << tot;
- A. 2
- B. 3
- C. 7
- D. 9
g2-03432.in输出g2-03432.out下面的 C++ 代码之后的输出是( )。
int tot = 0, i;
for (i = -5; i < 5; i++)
if (not(i % 3 != 0))
tot += 1;
cout << tot;