执行如下 C++ 代码,其输出是( )。

 int tot, i; tot = 0; for (i = 0; i < 10; i++)   if (i)      tot += 1; cout << tot;
填写答案