Hello,
I just have a simple question on the use of the qsort function. Say I have an array of strings such as:
How would I sort this with qsort? I'm just a little confused on what to pass to qsort as parameters. Also, how would it be done with an array whose elements aren't set at the beginning (i.e., the array is being filled up from input from stdin)? Thanks.Code:char* str[] = {"Hello","Am","Where","Stuff"}