0

Write a function in c++ which could reverse the pallindrome numbers in an array??

please answer

7th Nov 2016, 6:39 PM
Sai Shankar Sahoo
Sai Shankar Sahoo - avatar
2 Answers
+ 1
but the reverse of a palindrome remains same that's why they are palindrome do you want to check a no is palindrome or not. then reverse it and check equaloty. to reverse keep dividing by ten and add the remainder after multiplying by powers of ten in a while loop
8th Nov 2016, 5:10 AM
Sandeep Chatterjee
0
question is not clear. what are you trying to do? reverse of a palindrome number is same as that number. so no meaning of writing a function, just return original data as it is.
7th Nov 2016, 7:08 PM
Amit Gupta
Amit Gupta - avatar