int input (int *cox, int *coy, int *board); /*declare fun*/
input(&cox, &coy, &board); /*call func*/
int input (int *cox, int *coy, int *board); /*header*/
I am trying to pass a 2d array into a function. I have follwed all the instructions but it still wont work. above are my calls. This is the error that I get:
"lab12_3.c", line 22.22: 1506-280 (E) Function argument assignment between types "int*(*)" and "int(*)" is not allowed.
Can someone please help me. I am completely stuck