Main.c: In function ‘main’:
Main.c:6:2: error: variable-sized object may not be initialized
int a[n][m]={0};
^~~
Main.c:6:15: warning: excess elements in array initializer
int a[n][m]={0};
^
Main.c:6:15: note: (near initialization for ‘a[0]’)
Main.c:6:2: warning: excess elements in array initializer
int a[n][m]={0};
^~~
Main.c:6:2: note: (near initialization for ‘a’)
Main.c:34:3: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(int i=0; i