Main.c: In function ‘main’:
Main.c:6:12: error: ‘new’ undeclared (first use in this function)
int **a = new int*[m];
^~~
Main.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
Main.c:6:16: error: expected ‘,’ or ‘;’ before ‘int’
int **a = new int*[m];
^~~
Main.c:8:17: error: expected ‘;’ before ‘int’
a[i] = new int[n];
^~~
Main.c:34:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=0; i