Question: 3 Strings-Pointers (30p) Write down a function 'foo' that verifies if a word or sentence (an array of characters) is a 'Palindrome' Palindrome is a

 3 Strings-Pointers (30p) Write down a function 'foo' that verifies if

3 Strings-Pointers (30p) Write down a function 'foo' that verifies if a word or sentence (an array of characters) is a 'Palindrome' Palindrome is a word or sentence that can we can read the same from left to right and from right to left Example: 'ADDSSDDA' or 'The mean naem eht' are Palindromes You are not allowed to use ( 1 brackets (except for an array declaration). In other words, you should use the pointers notation You can use string library functions like strlen, stropy... int foo( char str[] ) {

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!