String Palindrome

Program to check String Palindrome :

ALGORITHM:

    1. INPUT string, str[100]
    2. Copy strong str in rev
    3. Reverse string rev
    4. CHECK if reversed string, rev[100]=input string, str[100]
      PRINT String is palindrome
      else
      PRINT String is not a palindrome

C SOURCE CODE

Leave a Reply

Your email address will not be published. Required fields are marked *