Tag Archives: Program

Queue implementation using linked list, enqueue and dequeue in C

Write a C program to implement queue data structure using linked list. In this post I will explain queue implementation using linked list in C language.

In previous post, I explained about queue implementation using array. Here, I will explain how to implement a basic queue using linked list in C programming. Along with I will explain how to perform enqueue and dequeue operations on Queue in C language.

Continue reading Queue implementation using linked list, enqueue and dequeue in C

Queue implementation using array, enqueue and dequeue in C

Write a C program to implement queue, enqueue and dequeue operations using array. In this post I will explain queue implementation using array in C programming. We will learn how to implement queue data structure using array in C language. And later we will learn to implement basic queue operations enqueue and dequeue.

Continue reading Queue implementation using array, enqueue and dequeue in C

Stack implementation using linked list, push, pop and display in C

Write a C program to implement stack data structure using linked list with push and pop operation. In this post I will explain stack implementation using linked list in C language.

Continue reading Stack implementation using linked list, push, pop and display in C

How to declare, initialize and access array of structure

Write a C program declare, initialize and access array of structure. In this post, I will explain how to declare, initialize and access array of structure in C programming. We will learn different ways of initializing structure array and accessing its.

Continue reading How to declare, initialize and access array of structure

How to declare, initialize and access structures in C language

Write a C program to declare, initialize and access structures. In this post I will explain how to declare, initialize and access structures in C language. Different ways to initialize a structure variable and how to access structure members.

Continue reading How to declare, initialize and access structures in C language

C program to search an element in Circular Linked List

Quick links

Write a C program to create a Circular Linked List of n nodes and search an element in Circular Linked List. How to search an element by key in Circular Linked List.

In my previous posts, I have explained how to perform search on singly linked list. In this example I will explain you how to perform search operation on Circular Linked List.

Continue reading C program to search an element in Circular Linked List