单选题 难度 2
下标每次加 2。
下面代码的输出是( )。 int a[6] = {0, 1, 2, 3, 4, 5}, s = 0; for (int i = 0; i < 6; i += 2) s += a[i]; cout << s << endl;