执行如下 C++ 代码,其输出是( )。 int tot, i; tot = 0; for (i = 0; i < 10; i++) if (i) tot += 1; cout << tot; A. 0 B. 8 C. 9 D. 10