How to reverse an array in C++? ; int reversed[n] ; // reversed the value. for(int i=0; i<n/2; i++) ; // using STL function for reversing the array. reverse(arr, ...
確定! 回上一頁