I am confused between qsort and quick sort. Are they both same ? If no then how do they differ from each other ?
No, they aren't. qsort()
is a C standard library function. "Quicksort", on the other hand, is a specific sorting algorithm. It is often used as the backing algorithm of an actual implementation of qsort()
.