Canvendor interview question

Find palindrome or not, Swap two numbers without temporary variable