1.

Write a program to check whether the entered string is palindrome or not​

Answer»

ong>Explanation:

)READ the entered string using GETS(s). 3) Calculate the string length using string LIBRARY function strlen(s) and store the length into the variable n. 4) i=0,c=0. ... 5) If the number of characters compared is equal to the number of characters matched then the given string is the palindrome.



Discussion

No Comment Found