有以下程序
Struct S{int n; int a[20];};
Void f(int *a, int n)
{ int i;
For(i=0;i<n-1;i++) a[i]+=i;
}
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<s.n;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,正确答案A