void reversion(int ary[],int size){ int i,tmp; for(i=0;i tmp = ary[i]; ary[i] = ary[size-i-1]; ary[size-i-1] = tmp; }}