Question: *Program is in C* Implement the following string functions char *reverse(char *str) int palindrome(char *str) The function reverse reverses the string that is given as

 *Program is in C* Implement the following string functions char *reverse(char

*Program is in C*

Implement the following string functions char *reverse(char *str) int palindrome(char *str) The function reverse reverses the string that is given as parameter and returns the string. For example for "apple banana" it returns "ananab elppa". The function palindrome returns 1 if the parameter is a palindrome and 0 otherwise. A string is a palindrome if it reads the same backwards and forwards. For example "racecar racecar" and "abcd efe dcba" are palindromes

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!