Question: [C] Write a recursive function called is_palindrome() that accepts a pointer to a string and its length , and recursively determines if the string is
[C] Write a recursive function called is_palindrome() that accepts a pointer to a string and its length, and recursively determines if the string is a palindrome. The function must return 1 for a palindrome, 0 otherwise. A palindrome is a sequence of symbols that may be interpreted the same forward and backward. For example, race car. Note: whitespace should be ignored in your solution.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
