結果 : length of array in cpp function