Computer Science, asked by maleswarip, 9 months ago

Explain palindrome program?

Answers

Answered by AravindhPrabu2005
2

Explanation:

When a number or word or a phrase or a sequence of characters which resembles the same while reading them from backward are called palindrome. Palindrome examples: 2882, madam, noon, level.

Answered by Anonymous
1

Answer:

A palindrome number is a number that is equal to its reverse. Our program works as follows: at first, we copy input string into a new string (strcpy function), and then we reverse (strrev function) it and compare it with the original string (strcmp function). When a number or word or a phrase or a sequence of characters which resembles the same while reading them from backward are called palindrome. Palindrome examples: 2882, madam, noon, level. A Palindrome is a word, sequence or phrase that reads the same forward as it does backwards, for example words like 'dad', 'mom', 'madam' or numbers like '11', '121', or '99099'. In this article we will create two palindrome programs.

Similar questions