# Error message "array type has incomplete element type 'int[]'" in C programming

I wrote a function called max that returns the maximum value in the 2D array and Functions should not have pointers implementations. I have stuck with the line "int max (int array[][], int row, int col)" and this prints out the error message. My code is below: #include <stdio.h> #include <stdlib.h> int main(void) { printf("Let's create 2D Arrays!\n"); printf("How many rows? "); int row; scanf("%d", &row); printf("How many columns? "); int column; scanf("%d", &column); int A[row][column]; int i, j; for (i=0; i<row; ++i){ for (j=0; j<column; ++j){ printf("Enter value at [%d][%d]: ", i, j); scanf("%d",&A[i][j]); } } // print max value in 2D Arrays printf("\nThe max value in 2D Arrays is: \n"); max(A,row,column); return (EXIT_SUCCESS); } int max (int array[][], int row, int col){ int max = array[0][0]; int i; int j; for (i=0; i<row; ++i){ for (j=0; j<col; ++j){ if (array[i][j] > max){ max = array[i][j]; } } } return max; printf("%d",max); } Can someone help me to fix this without using the pointer implementation. Thanks!