Leetcode Reverse Integer Solution In C