Friday , February 23 2018
Home / c-program / C Program – Check a number is Palindrome or not

C Program – Check a number is Palindrome or not

C Program to check a given number is palindrome or not.

Number is Palindrome or not ?

long int reverse(long int n); 
int isPalindrome(long int num); 
int main(void) 
    long int num; 
    printf("Enter any number : "); 
        printf("Given Number is a palindrome\n"); 
        printf("Given Number is not a palindrome\n"); 
    return 0; 
int isPalindrome(long int num) 
        return 1; 
    return 0; 
long int reverse(long int n) 
    long int rev=0; 
    return rev; 

Enter any number : 568956
Given Number is not a palindrome

Enter any number : 56465
Given Number is a palindrome

Happy Learning ūüôā

About chandrashekhar

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,


C Program – Addition of two Matrices Example

C Program to Addition of two Matrices. Addition of two Matrices : Happy Learning ūüôā

Leave a Reply

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