How to write a C Program to pass Pointers to Functions?. Or How the Pointers to Functions in C programming work with a practical example. Pass Pointers to Functions in C Example 1 In this Pass Pointers to Functions in C program, we created a function that accepts two integer variables and swaps those two variables. I […]

## C Program to find Sum of each column in a Matrix

Write a C Program to find the Sum of each column in a Matrix. Or, write a C program to find the Sum of columns in a Multi-Dimensional Array with an example. C Program to find sum of each column in a Matrix Example 1 This program allows the user to enter the total number of rows […]

## Pass Array to Functions in C

Write a C Program to pass an array to functions. Or How to pass an array to functions in C programming with a practical example. Pass Array to Functions in C Example 1 In this Pass Array to Functions program, we created a function that accepts an integer variable and prints that variable as the output. Within […]

## C Program to find sum of each row in a Matrix

Write a C Program to find the Sum of each row in a Matrix. Or How to write a C program to find Sum of rows in a Multi-Dimensional Array with example. C Program to find sum of each row in a Matrix Example 1 This program allows you to enter the total number of rows and columns […]

## C Program to Convert Decimal to Octal Number

How to write a C Program to Convert Decimal to Octal Number with a practical example?. Before Converting Decimal to Octal Number in C, as we all know, Decimal values are base 10 number systems, and they use numbers between 0 and 9 The octal numbers are Numbers of base 8, and they are they use numbers […]

## C Program to Convert Decimal to Binary

How to write a C Program to Convert Decimal to Binary Number with a practical example?. To convert Decimal Number to Binary Number in C – First, Divide Original value with 2. Next, Divide the Quotient by 2. Repeat the same steps until the given number is zero. C Program to Convert Decimal to Binary Example This program to convert […]

## C Program for Quick Sort

How to write a C Program to Sort Array using Quick Sort with a practical example?. C Program for Quick Sort Example This quick sort program in C allows the user to enter the array size and the row elements of an Array. Next, we are using Nested For Loop to sort the array elements using a quick sort. Here, in […]

## C Program for Selection Sort

Write a Program to Sort Array using Selection Sort in C with a practical example. C Program for Selection Sort using For Loop This program uses Nested For Loop to sort the array elements using selection sort. /* C Program for Selection Sort */ #include <stdio.h> int main() { int a[100], number, i, j, temp; printf(“\n Please […]

## C Program to find Sum of Geometric Progression Series

Write a C Program to find Sum of Geometric Progression Series (G.P. Series) using Math Formula, and without using Mathematical formula. Geometric Progression Series Geometric Series is a sequence of terms in where the next element obtained by multiplying common ration to the previous element. Or G.P. Series is a series of numbers in which a common […]

## C Program to find Sum of Arithmetic Progression Series

Write a C Program to find Sum of Arithmetic Progression Series (A.P. Series) using Mathematical Formula and without using Math formula. Arithmetic Progression Series Arithmetic Series is a sequence of terms in which the next element obtained by adding a common difference to the prior item. Or A.P. series is a series of numbers in which the […]