#include <stdio.h>
int main()
{
int arr[]={1,3,5,-7,9,2,4,64,8,-10};
int j=sizeof(arr)/sizeof(arr[0]);
for(int i=j-1;i>=0;i--)
{
printf("%2d\n",arr[i]);
}
return 0;
}
转载于:https://blog.51cto.com/cheng618/1704663
#include <stdio.h>
int main()
{
int arr[]={1,3,5,-7,9,2,4,64,8,-10};
int j=sizeof(arr)/sizeof(arr[0]);
for(int i=j-1;i>=0;i--)
{
printf("%2d\n",arr[i]);
}
return 0;
}
转载于:https://blog.51cto.com/cheng618/1704663