I came across a source code which was using a compareing function for quicksort(qsort()). I quite don't understand what it does with the pointers. Can you please help me? Thanks.
Here is the function:
int compare(constvoid *x, constvoid *y) { return *(int*)x-*(int*)y; }