## C Program to find the sum of diagonal elements of a matrix

In this program, You will learn how to find the sum of diagonal elements of a matrix in c. 1 2 3 4 5 6 7 8 9 1 +…

Continue Reading C Program to find the sum of diagonal elements of a matrix

## C Program to delete an element in an array

In this program, You will learn how to delete an element in an array in c. List is: 1 2 3 4 5 6 Delete an item: 6 A new…

Continue Reading C Program to delete an element in an array

## C Program to insert an element in an array

In this program, You will learn how to insert an element in an array in c. List is: 1 2 3 4 5 6 Insert item: 44 Insert location: 7…

Continue Reading C Program to insert an element in an array

## C Program to find the sum of prime numbers in an array

In this program, You will learn how to find the sum of prime numbers in an array in c. Some list of prime numbers is: 2 3 5 7 11…

Continue Reading C Program to find the sum of prime numbers in an array

## C Program to find prime numbers in an array

In this program, You will learn how to find prime numbers in an array in c. Some list of prime numbers is: 2 3 5 7 11 13 17 Example:…

Continue Reading C Program to find prime numbers in an array

## C Program to find union and intersection of two arrays

In this program, You will learn how to find union and intersection of two arrays in c. #include<stdio.h> int main(){ //statement } Example: How to find union and intersection of…

Continue Reading C Program to find union and intersection of two arrays

## C Program to sort an array in descending order

In this program, You will learn how to sort an array in descending order in c. An array list is: 2 3 1 7 6 After sort: 7 6 3…

Continue Reading C Program to sort an array in descending order

## C Program to sort an array in ascending order

In this program, You will learn how to sort an array in ascending order in c. List is: 1 4 5 2 3 6 After sort: 1 2 3 4…

Continue Reading C Program to sort an array in ascending order

## C Program to swap adjacent elements of an array

In this program, You will learn how to swap adjacent elements of an array in c. List is: 1, 2, 3, 4, 5, 6 After swap: 2, 1, 4, 3,…