結果 : remove duplicate elements from array in c using function