What is a palindrome number?

devquora
devquora

Posted On: Mar 18, 2020

 

    2 Answers Written

  •  devquora
    Answered by Farheen

    A number is said to be palindrome number of it remains the same after being reversed. An example of palindromic numbers is 131, 434. 12321, 212 and others too numerous to mention. It is very easy to check if a number is palindromic or not. All you need to do is to compare the number with the original after reversing it. The original number is the same as the reversed number, it is palindromic. A palindrome is gotten from the word palindrome” which refers to words the spelling is unchanged when the letters that make up the word are reversed.

  •  devquora
    Answered by candy narindi

    If we reverse the number and if the reversed number is same as the original number then it's known to be a palindrome number example : 121 (original ) 121 (reversed )

Related Questions

Please Login or Register to leave a response.

Related Questions

C programming interview questions

What are static variables in C ?

C defines another class of variables called static variables. Static variables are of two types:Static variables tha..

C programming interview questions

What is a scope resolution operator in C ?

The scope resolution operator (::) is useful in C programming when both global and local variables have the same name,..

C programming interview questions

What is register variable in C language ?

C language allows the use of the prefix register in primitive variable declarations. Such variables are called register..