14 ms·
What is the point of defining the function with two void* arguments if the cast will just take place anyway?
by _RPM 12y ago
What is the point of defining the function with two void* arguments if the cast will just take place anyway?
- huu 12y agoThe signature of greater is relevant because it has to conform to the interface for qsort. See the final argument of the interface here: http://www.cplusplus.com/reference/cstdlib/qsort/ http://www.cplusplus.com/reference/cstdlib/qsort/