方法很多
int main()
{
int arr[10] = {0};
int i;
for(i = 0;i<10;i++)
scanf("%d",&arr[i]);
}
int m = 0;
int n = 9;
while(m<=n)
int tmp = arr[m];
arr[m] = arr[n];
arr[n] = tmp;
m++;
n--;
printf("%d ",arr[i]);
return 0;