ABoredComputerEngineer / Sorting

Various kinds of sorting algorithms implemented in C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sorting

Various kinds of sorting algorithms implemented in C

Also prints every step of the sort.

printArray() function prints the array of the given length

checkSort() checks if the given array is sorted in ASCENDING order

checkSort() returns the value TRUE(1) if the array is sorted and FALSE(0) if it is not sorted

All the above array related functions take two arguments: array_Name and array_length

The first argument is the name of the array and the second is the actual length of the array

The swap function uses pointers to swap the values of two variables.

About

Various kinds of sorting algorithms implemented in C


Languages

Language:C 100.0%