結果 : reverse string hackerrank solution in c