im trying to find the most occurring element in an array, but im trying to be clever about it instead of doing the long as sub-array method my class is doing currently
damn AS programmers are stupid. probably because they are descendent from java programmers, only much younger. here, convert it to your stupid language.
#include<stdio.h>
int cmp(const void * a, const void * b){
return *(int*)a - *(int*)b;
}