In stdlib.h file there is only declaration of that function , where the function is implemented ?
which qsort? libc qsort or kernel qsort?
glibc is the most complex implementation, I will recommend something easier if you want to understand the algorithm. If you are interested on implementation details and going deeper, then glibc, it is open source, you can find the code on internet
Обсуждают сегодня