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 www.c-program-example.com* for personal …

C Program to find the strong number.

Write a C Program to find the given number is strong or not?A number is called strong number if sum of the factorial of its digit is equal to number itself. Example: 145 since 1! + 4! + 5! = 1 + 24 + 120 = 145. Read more about C Programming Language . /************************************************************ …

C Program to add one to digits of a number

Write C Program to add one to digits of a number. C Program that adds the 1 to each single digit of a number, i.e for Example 12345’s output is 23456. If the digit is 9 it adds 1 and follows the carry system, 9 becomes 0 and 9’s left digit adds one more 1. …

Palindrome Program in C – Check Number (Iterative, Function, Recursive)

A palindrome program in C checks whether a number reads the same forwards and backwards. Numbers like 121, 1331, and 12321 are palindromes; 12345 is not. The standard technique is to reverse the digits and compare with the original. This page covers three versions: a simple iterative solution, a clean function-based version, and a recursive …

C program to convert a Binary number into its equivalent Decimal, Octal and Hexadecimal numbers.

C Program to convert binary number into its equivalent Decimal, Octal, and Hexadecimal representations. In this program we convert a binary number to decimal. Then convert that decimal number to octal and Hexadecimal equivalent. The program implements various functions to do the job. binary_to_decimal : Convert given binary number to it’s decimal equivalent decimal_to_octal : Convert from …

C Program to check the given number is Armstrong or not?

C Program to check the given number is Armstrong number or not?. Armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits. Example: 153 = 1^3 + 5^3 + 3^3. Read more about C Programming Language . /************************************************************ You can use all …