std::array container - 2020
Bookmark and Share

Output:

$ g++ -std=c++11 -o arr1 arr1.cpp
$ ./arr1
Initial i_array1 : 3 4 5 1 2 
sored i_array1 : 1 2 3 4 5 
Initial i_array2 : 1 2 3 4 5 
reversed i_array2 : 5 4 3 2 1