Reverse String Leetcode Solution In C