hey guys, hope someone can help because im confused about this. I keep getting the error in the title, at the lines ive commented, when i try to compile. I cant see an obvious error, but then again ive only been doing C for 5 weeks, but know basic C++
Code:void displayGrid(int array[][], int points) { for(int i = 0; i < points; ++i) { for(int j = 0; j < points; ++j) { if(array[i][j] == 0) // here { printf(" - "); } else { printf(" %d ", array[i][j]); // here } } printf("\n"); } }