# Category Archives: Number Programs

## Write a C Program to convert string of numbers to an integer using Recursion

C Program to convert string of numbers to an integer Write a C Program to convert string to number using Recursion. Here’s simple Program to convert string to number using Recursion in C Programming Language. Recursion : : Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to… Read More »

## Write a C Program to convert Number to String using Recursion

C Program to convert Number to String Write a C Program to convert Number to String using Recursion. Here’s simple Program to convert Number to String using Recursion in C Programming Language. Recursion : : Recursion is the process of repeating items in a self-similar way. In programming languages, if a program allows you to call… Read More »

## Write a C Program to display reverse number and find sum of digits by recursion

Display reverse number and find sum of digits by recursion Write a C Program to display reverse number and find sum of its digits using recursion. C program to find sum of digits and reverse of a number. How to find sum of digits of a number and reverse of a number in C programming. Logic to… Read More »

## C Program to convert decimal number to Binary, Octal or Hexadecimal

C Program to convert decimal number to Binary, Octal or Hexadecimal Write a C Program to convert positive decimal number to Binary, Octal or Hexadecimal. Here’s a Simple Program to convert decimal number to Binary, Octal or Hexadecimal number in C Programming Language. Create a program that would convert a decimal number to binary, octal or hexadecimal… Read More »

## C program to Swap two numbers without third variable

Swap two numbers without third variable Write a C program to Swap two numbers without third variable. Here’s simple program to Swapping of two numbers without using third variable in C Programming Language. Below is the source code for C program to Swap two numbers without third variable which is successfully compiled and run on Windows System… Read More »

## C program to swap two numbers using third variable

Swap two numbers using third variable Write a C program to swap two numbers using third variable. Here’s simple program to Swapping of two numbers using third variable in C Programming Language. Below is the source code for C program to swap two numbers using third variable which is successfully compiled and run on Windows System to produce… Read More »

## Write a C program to find nCr and nPr using function

Find nCr and nPr using function Write a C program to find nCr and nPr using function. Here’s simple program to find nCr and nPr using function in C Programming Language. Below is the source code for C program to find nCr and nPr using function which is successfully compiled and run on Windows System to… Read More »

## C program to generate random numbers using rand function

Generate random numbers using rand function Write a C program to generate random numbers using rand function. Here’s simple program to generate random numbers using rand function in C Programming Language. Below is the source code for C program to generate random numbers using rand function which is successfully compiled and run on Windows System to produce desired… Read More »

## C program to Add two Complex Numbers using structures

Add two Complex Numbers using structures Write a C program to Add two Complex Numbers using structures. Here’s simple C program to Add two Complex Numbers using structures in C Programming Language. Numbers in C Normally, when we work with Numbers, we use primitive data types such as int, short, long, float and double, etc. The… Read More »

## C Program to Check whether a Number is Prime or not using For loop

Check Number is Prime or not using For loop Write a C Program to Check whether a Number is Prime or not using For loop Here’s simple C Program to Check whether a Number is Prime or not using For loop in C Programming Language. Numbers in C Normally, when we work with Numbers, we… Read More »