結果 : write c function to reverse a string using stack