Wipro interview question

Palindrome string, Reverse string and Armstrong number