Hello can anyone give me some advice on how to reverse the order of an array for example say in my array i had the values
9 8 7 6 5 4 3 2 1... how can i get it to be
1 2 3 4 5 6 7 8 9.
i tryed
for (x=sizeOfArray; x>=0; x--)
{ for (y=0; y<=sizeOfArray;y++)
{ tmp1[y] = tmp2 [x];
}
}
where tmp2 is the array that holds the original values and tmp1 will store the reverse image...for some reason it is not working can any one confrim the code or assist me in correcting it.
Thanks![]()