Mine
public c v1 · immutable#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ int **array; int i, j, rows, cols; printf("\nEnter Number of Rows: "); scanf("%d", &rows); printf("\nEnter Number of Cols: "); scanf("%d", &cols); for( i=0; i<rows; i++ ){ for( j=0; j<cols; j++ ){ array[i][j]=malloc(sizeof(int)*1); } } free(array); return EXIT_SUCCESS;}