The Next Palindrome

I am unable to find the bug in this code.Please help me understand it.Thanks.

same confusion here… It is showing Runtime error but running fine on my system. Cause of runtime error is amount of memory used or something else?

try by initializing large character array outside the main function.

@aq1_ still not working… :frowning: