0 votes
How do you check if a given string is a palindrome?

1 Answer

0 votes
Palindrome String Check Program in C Explanation: To check if a string is a palindrome or not, a string needs to be compared with the reverse of itself. To compare it with the reverse of itself, the following logic is used: 0th character in the char array, string1 is same as 4th character in the same string.
...