Question: reference 4.17 solve first question using c++ Single-Dimensional Arrays and C-Strings (Palindrome string) Modify Programming Exercise 4.17 by using the following function to find the

reference 4.17

solve first question using c++ Single-Dimensional Arrays and C-Strings
(Palindrome string) Modify Programming Exercise 4.17 by using the following function to find the whether C-string s is a palindrome or not. The function returns the length of the string if it is a palindrome. Otherwise, it returns -1. int isPalindrome(const char s[] ) Write a test program that reads a C-string, invokes the function and checks whether the string is a palindrome or not. The program returns the length of the string if it is a palindrome. 4. I7 (Palindrome string) Write a program that prompts the user to enter a string with five lowercase letters and determines whether it is a palindrome
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
