C How to Program (8th Edition)
C How to Program (8th Edition)
8th Edition
ISBN: 9780133976892
Author: Paul J. Deitel, Harvey Deitel
Publisher: PEARSON
Question
Book Icon
Chapter 6, Problem 6.31RE
Program Plan Intro

Program Plan-

  • Include the header files and initialize the main() function.
  • Prompt the user to take the input of string from the user.
  • To define the recursive function testPalindrome (char[]) to find whether the string is palindrome or not.
  • Call the function to display the output.
  • Define the function role in the respective function definition.

Program Description- The purpose of the program is to take the string as input and tell if the string is palindrome or not using the following recursive function-

inttestPalindrome (char[])

Blurred answer
Students have asked these similar questions
Convert the following function into a recursive function
Please trace the recursive calls of this function
Please explanation this recursive function Each and every statement

Chapter 6 Solutions

C How to Program (8th Edition)

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning