C program to find middle element of linked list in single pass

In this tutorial, you will learn how to write C Program to find middle element of a linked list in single pass. Below are the approach which we will be follow to write our program: So first of all we will take some inputs from the users and then we will try to find the … Read more

C program to reverse a linked list with explanation

In this tutorial, you will learn how to write C program to reverse a singly linked list. Below are the approach which we will be follow to write our program: To reverse any singly linked list first of all we should have some data in linked list. So first we will take some inputs from … Read more

C program to remove duplicate elements in an array

C Program To Remove Duplicate Elements In An Array

In this tutorial, you will learn how to write C program to delete duplicate elements in an array. Below are the approach which we will be follow to write program: How our program will behave? Our program will take an array as an input. And then count the occurrence of each elements. After the count … Read more

C program to find second largest number in an array

C Program To Find Second Largest Number In An Array

In this tutorial, you will learn how to write C program to find second largest number in an array. Below are the approach which we will be follow to write our program: How our program will behave? As we have already seen above our logic to find the second maximum number of an array. Our program … Read more

C program to find first two largest elements of an array

C Program To Find First Two Largest Elements Of Array

In this tutorial, you will learn how to write C program to find first two largest numbers in a given array. Below are the approach which we will be follow to write our program: How our program will behave? As we have already seen above our logic to find the first two maximum number of … Read more

C program to check two arrays is equal in size or not

C Program To Check Two Arrays Is Equal In Size Or Not

In this tutorial, you will learn how to write C program to compare two arrays and check that they are equal in size or not. Below are the approach which we will be follow to achieve our goal: How our program will behave? As we have already seen above our logic to check the size … Read more

C Program to find which number is not present in second array

C Program To Find Which Number Is Not Present In Second Array

In this tutorial we will see, Given two arrays 1,2,3,4,5 and 2,3,1,0,5 find which number is not present in the second array. Means in general in this tutorial, you will learn how to write C program to find the missing number in second array. This program is very simple and easy. As we have fixed … Read more