結果 : write a program to reverse a given string without using the string library function