Leetcode Problem Reverse Integer In C