#include <stdio.h>
int main(void) {
char input[50];
char test[50];
int ret;
printf("Enter word or phrase to compare "); fgets(input
,sizeof(input
),stdin
);
if(ret == 0)
printf("\n this is a palindrome ");
else
printf("\n this is not a palindrome"); }
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgljaGFyIGlucHV0WzUwXTsKCWNoYXIgdGVzdFs1MF07CgkKCWludCByZXQ7CgkKCXByaW50ZigiRW50ZXIgd29yZCBvciBwaHJhc2UgdG8gY29tcGFyZSAiKTsKCWZnZXRzKGlucHV0LHNpemVvZihpbnB1dCksc3RkaW4pOwoJc3RyY3B5KHRlc3QsaW5wdXQpOwoJCglyZXQgPSBzdHJjbXAodGVzdCxpbnB1dCk7CgkKCWlmKHJldCA9PSAwKQoJCXByaW50ZigiXG4gdGhpcyBpcyBhIHBhbGluZHJvbWUgIik7CgkKCWVsc2UKCQlwcmludGYoIlxuIHRoaXMgaXMgbm90IGEgcGFsaW5kcm9tZSIpOwp9Cg==