C Archive

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 …