結果 : reverse array in c++ function