执行下方程序,输出的结果是( )
#include <iostream>
using namespace std;
int main ( ){
int a=0;
for( int i = 0; i < 10; i++ ){
a =i;
}
cout << a << endl;
return 0;
10
9
0
11