1 2 3 4 5 6
#define N 100 int M[N]; for(i=0; i<N/2; i++) { tmp = M[i]; M[i] = M[N-i-1]; M[N-i-1] = tmp;