C library function - qsort()
Description The C library function **void qsort(void base, size_t nitems, size_t size, int (compar)(const void , const void)) sorts an array. Declaration Following is the declaration for qsort() function. void qsort(void *base, size_t nitems, size_t size, int (*compar)(const void *, const void*)) Parameters base : This is the pointer to the first element of the array to be sorted. nitems: This is the number of elements in the array pointed by base....