Greetings. I am writing a program that is supposed to keep trying find a palindrome by summing up number and it's reversal (123 + 321) until it either finds one, or reaches limit of unsigned long long int.
For small numbers, it seems to be working.
However I have been told it is not proven possible that one can find palindrome with this algorithm for number 196 yet my program finds one, witch implies an error.
I tried this and then checking if the numbers I am working with are still less than a, to no avail. Could you please give me a hint? Thank you!Code:#include <limits.h> const unsigned long long int a = ULLONG_MAX;