Computer Science, asked by shiwangi476, 8 months ago

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

Answers

Answered by aryan3616
2

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.

Similar questions