Question: Using Cygwin and gcc , create a C program that reads a ( potentially ) multi - word message from the keyboard and checks whether

Using Cygwin and gcc, create a C program that reads a (potentially) multi-word message from the keyboard and checks whether or not it's a palindrome (i.e. the letters in the message are the same from left to right as from right to left). Whitespace and punctuation should be ignored in the palindrome check. The check should also be case-agnostic (i.e. don't distinguish between upper- and lowercase).
Implement your program WITHOUT using any array indexing. Rather, use pointers to keep track of positions within the array. The only place square brackets should be used is in your array declaration.1 point will be deducted from your score for each additional use of square brackets.
Assume that input from the keyboard will not exceed 200 characters.
Submit a .c file.
Remember the 80-character line limit.
Remember the function header for each function you write.
Example Program 1:
Enter a word/phrase: Madam, I'm Adam.
The word/phrase is a palindrome.

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 Programming Questions!