C Program to Check Palindrome string.
C PROGRAM TO CHECK PALINDROME ( string ) Palindrome: A palindrome is a word, phrase, or sentence that reads the same in both backward and forward directions for example "level". In other words, A string is said to be a palindrome if the string read from left to right is equal to the string read from right to left. # include <stdio.h> # include <string.h> int main () { int i, l, rev = 0 ; char string[ 250 ]; printf ( "Enter a string: " ); scanf ( "%s", string ); l = strlen (string); for ( i = 0 ; i < l; i++ ) { if (string[i] != string[l-i- 1 ]){ rev = 1 ; break; } ...