Posted in C Data Structure Structure

Queue using Linked List in C Program

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 are performed is called rear…

Continue Reading... Queue using Linked List in C Program
Posted in C Data Structure Structure

Stack 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 where all insertions and deletions…

Continue Reading... Stack using Linked List in C Program
Posted in C Data Structure Structure

Doubly Linked List Example Using 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 object. Size of the Structure…

Continue Reading... Doubly Linked List Example Using C Program
Posted in C Data Structure Structure

Singly 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 all data types, plus any…

Continue Reading... Singly Linked List Example Using C Program
Posted in Array C Data Structure

C Program to Compute Transpose of a Matrix

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 matrix for computing the transpose…

Continue Reading... C Program to Compute Transpose of a Matrix
Posted in Array C Data Structure

C Program to Multiply Two Matrix Using Multi-dimensional Arrays

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 also how to use pointers…

Continue Reading... C Program to Multiply Two Matrix Using Multi-dimensional Arrays
Posted in Array C Data Structure

C Program to Add 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 providing inputs for two matrices…

Continue Reading... C Program to Add Two Matrix Using Multi-dimensional Arrays