+ 7

Is there a built-in function in C that can be used for sorting data?

C

14th Nov 2018, 3:54 AM
Mahesh Muttinti
2 odpowiedzi
+ 3
There is a quick sort function in the standard library. void qsort(void* base, size_t niteams, size_t size, int (*compare) (const void*, const void*))
14th Nov 2018, 5:35 AM
Jared Bird
Jared Bird - avatar
+ 3
Yes there is...Its called the "qsort"(quick sort)..But you'll have to write a bit of code for it to work....
14th Nov 2018, 5:38 AM
Mensch
Mensch - avatar