Category Archives: Programming

Linked List in C – Insertion Sort

Linked List in C - Insertion Sort

Linked List in C – Insertion Sort

Linked List in C - Insertion Sort

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C – Insertion Sort : Source Code : #include<stdio.h> struct node { int data; struct node *next; }; struct node *head=NULL; void insert_sort(int data) { struct node *temp=head; struct node *prev=NULL; struct node *ptr;… Read More »

Linked List in C- Reversing a Linked List using Recursion

Linked List in C- Reversing a Linked List using Recursion

Linked List in C- Reversing a Linked List using Recursion

Linked List in C- Reversing a Linked List using Recursion

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Reversing a Linked List using Recursion : Input: Linked List: one->two->three->four head pointer points to first node “one” Output:  Linked List: four->three->two->one head pointer points to first node “four” Source Code : #include<stdio.h>… Read More »

Linked List in C- Insert Node at End of Linked List

Linked List in C- Insert Node at End of Linked List

Linked List in C- Insert Node at End of Linked List

Linked List in C- Insert Node at End of Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Insert Node at End of Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Pointer to store the staring node of the linked list //Always stores the address location of first node… Read More »

Linked List in C- Delete Node at Head in Linked List

Linked List in C- Delete Node at Head in Linked List

Linked List in C- Delete Node at Head in Linked List

Linked List in C- Delete Node at Head in Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Delete Node at Head in Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Declared as global variable since it is accessed by multiple functions struct node { //Structure named node to… Read More »

Linked List in C- Delete Last Node in Linked List

Linked List in C- Delete Last Node in Linked List

Linked List in C- Delete Last Node in Linked List

Linked List in C- Delete Last Node in Linked List

DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Try DATA STRUCTURES IN C – LINKED LIST (20 PROGRAMS) Linked List in C- Delete Last Node in Linked List : Source Code : #include<stdio.h> struct node *head=NULL; //Declared as global variable since it is accessed by multiple functions struct node { //Structure named node to store… Read More »