有以下函数:#include <stdio.h> vo

有以下函数:

#include <stdio.h>
void exch(int t[])
{
 t[0] = t[5];
}
main()
{
 int x[10] = {1,2,3,4,5,6,7,8,9,10},i=0;
 while(i <= 4)
 {
 exch(&x[i]); i++;
 }
 for(i = 0;i < 5;i++)printf("%d\n",x[i]);
}

程序运行后的输出结果是( )。 

答案
D

题目信息

题号:4282
题型:单选题
难度:普通