Question: ( 3 0 points ) Write a function IsPalindrome ( ) that takes an array of characters called Items [ ] and an integer called
points Write a function IsPalindrome that takes an array of characters called Items and an integer called size as parameters. The latter indicates the size of the array. The function returns true if the string represented by the stored elements in Items is a palindrome, and false otherwise. As usual, uppercase and lowercase versions of the same letter are considered to be different characters eg as shown in the last run below, and are considered different Call the function from the main function to test it
Sample input and corresponding output:
Enter a string: ayz
This is not a Palindrome.
Enter a string: mam
This is a Palindrome.
Enter a string:
This is not a Palindrome.
Enter a string: aa
This is a Palindrome.
Enter a string: madam$madam
This is a Palindrome.
Enter a string: Regina$aniger
This is not a Palindrome.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
