Question: Both of these questions please Write a function called newstrCmp that does the same job as strcmp. The declaration for your function is to be
Both of these questions please Write a function called newstrCmp that does the same job as strcmp. The declaration for your function is to be the same as the library function. A string is a palindrome if it can be read forward and backward with the same meaning. Capitalization and spacing are ignored. For example, anna and go dog are palindromes. Write a function that accepts a string and returns true if the string is a palindrome and false if it is not. Test your function with the following two palindromes and at least one case that is not a palindrome: Madam, I'm Adam Able was I ere I saw Elba
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
