C/C++ program to check the Palindrome string.
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbq6l9EUA4TPXYrAb9bMU7JtFntieZARNGPqPn2fSCKQfL7NjDcH3wYDS4x6TRJNWb2SfTLWk7Q0N6T6gY1fh2qGkZJewgQSnSV_GO14kiMir2ABV8P7sA0jqozy6iDh_wqCfZEioL8cgW/s640/plai.png)
Palindrome string: A string or word which are same from the start and end means word or program which look like same as original and reversed. To do that we have to first reverse the string. Check out our post on the String reverse in C/C++. To write the program of the Palindrome steps used are. Get the input from the user. convert the string to the Lower case to avoid any case sensitivity. apply the logic of the reverse the string. compare the reversed and original string, if same then the string is a palindrome. if different string is not a palindrome. print the result to the user. without wasting much time lets start. First of all the C schema. #include <stdio.h> #include <string.h> #include <ctype.h> int main(int argc, char const *argv[]) { return 0; } ctype.h is used to get the advantage of the function tolower() later in the program. Now take the input from the user. char name[150],rev[150] ; int l=0; printf("Enter a string to check palindrome\n");