Zensar Technologies interview question

write program to reverse number/ palindrome