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