Question: Problem 1: Implement a function that determines if a word is palindrome. Examples of palindrome words: abba, Anna, Kayak. The function must return TRUE when

Problem 1: Implement a function that determines if a word is palindrome. Examples of palindrome words: \abba", \Anna", \Kayak". The function must return TRUE when the word contains only a single character. The function must return TRUE when it received a palindrome word, and FALSE otherwise. The function should be case insensitive. Assume that words are only composed of both capital or lower-case letters. Hint: Use the tolower() or toupper() functions declared in ctype.h. See http://examples.yourdictionary.com/palindrome-examples.html for single word palindrome examples.

The function must have the following properties: 1. Name: IsPalindrome

2. Return type: int

3. Input type: Non-mutable pointer to a string (i.e., a constant string).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!