Mar 16, 2012

C program to Demonstrate the Recursive function.

Write a C program to demonstrate the recursive function.
Recursion  is the programming technique that a process invoking itself again and again. In this program, We reverse the given number and checks it is a palindrome or not. Read more about C Programming Language .

* You can use all the programs on
* for personal and learning purposes. For permissions to use the
* programs for commercial purposes,
* contact
* To find more C programs, do visit
* and browse!
*                      Happy Coding


int main(){
 int num,num1,rev;
 printf("\nEnter a number :\n");
 //call recursive function

 printf("\nAfter reverse the number is :\n%d",rev);
  printf("\n\nNumber  %d is Palindrome\n",num1);
  printf("\n\nNumber  %d is NOT a Palindrome\n",num1);

 return 0;
int sum=0,r;
reverse(int num){
  return sum;
 return sum;

Read more Similar C Programs
Learn C Programming
Number System
You can easily select the code by double clicking on the code area above.

To get regular updates on new C programs, you can

You can discuss these programs on our Facebook Page. Start a discussion right now,

our page!

Share this program with your Facebook friends now! by liking it

(you can send this program to your friend using this button)

Like to get updates right inside your feed reader? Grab our feed!
To browse more C Programs visit this link