Inside loop copy original array to reverse array i.e. reverse [revIndex] = arr[arrIndex]; . After copy, increment revIndex and decrement ...
確定! 回上一頁