結果 : how to pass pointer array to function in cpp