C Archive

Matrix Multiplication in C

In this post, we will see how to do matrix multiplication in C. If we want to multiply two matrices, then number of columns in first matrix must be equal to number of rows in …

Infix to postfix conversion in C

In this guide, we will see about Infix to postfix conversion in C. In the computer, all the arithmetic expressions first convert to their postfix from infix. After the conversion, the evaluation will start. Algorithm …

Bubble sort in C

In this post, let’s see how to implement bubble sort in C. Bubble sort, also known as sinking sort,compares adjacent elements and swap them if they are not in correct order. Here is a simple …