How to use Quick Sort to sort an array of strings

You need to make a compare function which compares 2 strings and use that as the last argument in qsort.
read more about the function here
http://www.cplusplus.com/reference/cstdlib/qsort/?kw=qsort

Leave a Comment