Code:I am making a program to ask a user for input, and stored them in an array thereafter it supposed to print the information using a function called display. The problem I am having is when I try to compile it gives me a core dumped error. Help will be much appreciated. here are the code #include<stdio.h> void display(int x[10][10]); int main(void) { int array[10][10]; int n, m,j,i; printf("Enter number of rows: "); scanf("%d", &m); printf("Enter number of colums: "); scanf("%d", n); for (i=0; i<n; i++) { for (j = 0; j<m; j++){ printf( "Enter rows[%d] and colums[%d] : ", i, j); scanf( "%d", &array[i][j]); } printf("array[%d][%d]", array[i][j]); } printf("array[%d] = [%d]", array[i][j]); display( array); return 0; } void display(int x[10][10]){ int i, j; printf("Displaying:\n"); for(i=0; i<10; i++) for(j=0; j<10; j++) printf("%d\n", x[i][j]); }