Question: Using C language Lab 9 (this is to be turned in) You need to write a main that calls all functions you are asked to
Using C language Lab 9 (this is to be turned in) You need to write a main that calls all functions you are asked to declare appropriate initialized arrays to test You are to write two functions char reverse (char *dest, char *src) dest is the reverse of the string sre, note dest should be a string. The function reverse should not declare any additional arrays The second function you need to write is a palindrome (string) is a string which is the same backwards as forwards int isPalindrome(char *str) examples of palindromes mom racecar roonoor abe mm cba You are to write a function isPalindrome which is passed a string str and determines if the string is a palindrome. If it is, the function returns a 1, otherwise the function returns a zero. You can assume that the string str is at most of length 100. You are allowed to declare an additional array in your function. You are allowed to use any standard library string functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
