// Palindrome of a string #include int main() { char str[40],rev[40]; int loop,size,check=0; printf("Enter The String Max Size 40\n"); gets(str);// input the String // now calculating the size of the array for(loop=0;loop<40;loop++) { if(str[loop]=='\0') break;// if end of the string then break else size++; } //now reversing the array for(loop=0;loop