Solve this program and provide full code.
Question: A palindrome is a string that reads the same both forward and backward. For example, the string "madam" is a palindrome.
Write a program that uses a recursive method to check whether a string is a palindrome. Your program must contain a value-returning recursive method that returns true if the string is a palindrome and false otherwise. Use appropriate parameters in your method.
Write a program in c language.