#include #include /* for bsearch */ int intcmp(const void *first, const void *second) { if (*(int*)first < *(int*)second) { return -1; } else { return (*(int*)first) > (*(int*)second); } } int test[] = {1,1,3,5,5,6,8,9,9}; #define numb 9 main() { int i, *where; for (i=0; i