#include #define N 10int main(int argc,char *argv[]){ int a[N],i,j,k; printf("Befor:\n"); for(i=0;i printf("%d ",a[i]=i+1); for(j=N-1,i=0;i k=a[i],a[i]=a[j],a[j]=k; printf("\nAfter: \n"); for(i=0;i printf("%d ",a[i]); printf("\n"); return 0;}