Fill in the code below to reverse the order of array1’s contents and save it into array2 (Assume array1 contains valid data, and you may ONLY declare ONE extra variable)
1 2
for (int i = 0; i SIZE; i++) {
array2[ ] = array1[ ];
I tried
1 2 3
for (int p=0; p<woo; p++){
rev[p]=extra[(woo-p)];
}