# Category Archives: Recursion Programs

## Write a C Program to find First Capital Letter in String using Recursion

Write a C Program to find First Capital Letter in String using Recursion   The following C program, using recursion, finds the first capital letter that exists in a string. We have included ctype.h in order to make use of “int isupper(char);” function that’s defined inside the ctype.h headerfile. The isupper finction returns 1 if… Read More »

## Write a C Program to Convert Decimal to Binary System using Recursion

Write a C Program to Convert Decimal to Binary System using Recursion   The following C program using recursion finds a binary equivalent of a decimal number entered by the user. The user has to enter a decimal which has a base 10 and this program evaluates the binary equivalent of that decimal number with… Read More »

## Write a C Program to find HCF of Number using Recursion

Write a C Program to find HCF of Number using Recursion The following C program using recursion finds the HCF of two entered integers. The HCF stands for Highest Common Factor. Here is the source code of the C program to find HCF of two numbers. The C program is successfully compiled and run on… Read More »

## Write a C Program to Find LCM of Number using Recursion

Write a C Program to Find LCM of Number using Recursion The following C program, using recursion, finds the LCM. An LCM is the lowest common multiple of any 2 numbers. Here is the source code of the C program to find LCM of a Number using Recursion. The C program is successfully compiled and… Read More »

## Write a C Program to Find Number Prime or Not using Recursion

Write a C Program to Find Number Prime or Not using Recursion The following C program, using recursion, finds whether the entered number is a prime number or not. A prime number is an integer that has no integral factor but itself and 1. Here is the source code of the C program to find… Read More »

## Write a C Program to Check whether String Palindrome or not using Recursion

C Program to Check whether String Palindrome or not using Recursion   The following C program, with recursion, determines whether the entered string is a palindrome or not. A palindrome is a word, phrase or sentence that reads the same backward or forward. Here is the source code of the C program to display a… Read More »

## Write a C Program to Copy One to Another String using Recursion

Write a C Program to Copy One to Another String using Recursion   This C Program uses recursive function & copies a string entered by user from one character array to another character array. Here is the source code of the C program to copy string using recursion. The C Program is successfully compiled and… Read More »

## Write a C Program to find Reverse of Number using Recursion

Write a C Program to find Reverse of  Number using Recursion   The following C program using recursion reverses the digits of the number and displays it on the output of the terminal.Eg: 12345 becomes 54321. Here is the source code of the C program to find the reverse of a number. The C program is… Read More »