結果 : passing array to function in c++ using pointer