結果 : write ac program to sort the names using pointer