csortingqsort

Are qsort and quick sort both same?


I am confused between qsort and quick sort. Are they both same ? If no then how do they differ from each other ?


Solution

  • 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().