結果 : write ac program to reverse a string without using strrev function