/* #include */ #define SMALL_N 2 #define NUM_ELEM 4 int main(void) { int listElem[NUM_ELEM]={30,2,10,5}; int listSmall[SMALL_N]; int i, j; int posGreatest=-1, greatest=-1; for (i=0; i greatest) { posGreatest = i; greatest = listElem[i]; } } for (i=SMALL_N; i greatest) { posGreatest = j; greatest = listSmall[j]; } /* printf("%d\n", posGreatest); */ } } printf("Correct output: 5 2\n"); printf("GCC output: "); for (i=0; i