結果 : c function to get length of array