有以下程序
Void sort(int a[],int n)
{
Int i,j,t;
For(i=0;i<n;i++)
For(j=i+1;j<n;j++)
If(a[i]<a[j]){ t=a[i]; a[i]=a[j]; a[j]=t; }
}
Main()
{ int aa[10]={1,2,3,4,5,6,7,8,9,10},i;
Sort(aa+2, 5);
For(i=0;i<10;i++) printf("%d,",aa[i]);
Printf("\n");
}
程序运行后的输出结果是______。
A.1,2,3,4,5,6,7,8,9,10, B.1,2,7,6,3,4,5,8,9,10, C.1,2,7,6,5,4,3,8,9,10, D.1,2,9,8,7,6,5,4,3,10,正确答案C