0_0_24455217_21155.c:3:18: error: expected ';', ',' or ')' before '&' token
void coreFun(int &n, int &count, int k)
^
0_0_24455217_21155.c: In function 'main':
0_0_24455217_21155.c:30:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i=0; i<k; i++) printf("%d ", result[i]);
^
0_0_24455217_21155.c:30:9: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
|