結果 : write ac program to reverse a given string without using built in string function