結果 : how to find length of array in c++ using function