Leetcode Palindrome Number Solution In C