Introduction We will create an example on queue using linked list in C program. A queue like a stack is another special type of ordered list. In queue insertion operations are permitted at one end of the list and deletion operations are performed at the other end of the list. The end where insertion operations…

Posted in C Data Structure Structure

Queue using Linked List in C Program

Introduction We will see how to create stack using linked list in C program. Stack is a special kind of linear list. Linear list is an ordered collection of a number of items of the same type. Two operations are performed frequently from linear list – insertion and deletion. A stack is a linear list…

Posted in C Data Structure Structure

Stack using Linked List in C Program

Introduction In this post we will create doubly linked list example using C program. This example shows how to create, insert, append, remove nodes in doubly linked list using C program. We will use here Structure, which is a composite data type, in which we can define all data types under the same name or…

Posted in C Data Structure Structure

Doubly Linked List Example Using C Program

Introduction This example shows how to create, insert, append, remove nodes in singly linked list example using C program. We will use here Structure, which is a composite data type, in which we can define all data types under the same name or object. Size of the Structure is determined by computing the size of…

Posted in C Data Structure Structure

Singly Linked List Example Using C Program

Introduction This example will show you how to compute transpose of a matrix in C program. In this example a user will be asked to enter the number of rows and columns for matrices. Then user will be asked to enter the elements at each index of the matrix. A matrix has to be square…

Posted in Array C Data Structure

C Program to Compute Transpose of a Matrix

This example will show you how to multiply two matrices using two dimensional array in C program. In this example we will ask user to enter the number of rows and columns for two matrices. Then we will also ask user to enter the elements at each index of two matrices. Here we will see…

Posted in Array C Data Structure

C Program to Multiply Two Matrix Using Multi-dimensional Arrays

Introduction This example will show you how to add two matrices using two dimensional array in C program. In this example a user will be asked to enter the number of rows and columns for two matrices. Then user will be asked to enter the elements at each index of the matrices. Once user finishes…

Posted in Array C Data Structure

C Program to Add Two Matrix Using Multi-dimensional Arrays