有下列程序: #include struct S{int n;int a[20];}; void f(int *a,int n) { int i; for(i=0;i a[i]+=i; } void main( ) { int i; struct S s={10,{2,3,1,6,8,7,5,4,10,9}}; f(s.a,s.n); for(i=0;i printf("%d,",s.a[i]); } 程序运行后的输出结果是( )
A.
2,4,3,9,12,12,11,11,18,9,
B.
3,4,2,7,9,8,6,5,11,10,
C.
2,3,1,6,8,7,5,4,10,9,
D.
1,2,3,6,8,7,5,4,10,9,