Main.cc: In function 'int main()': Main.cc:6:18: error: variable-sized object 'a' may not be initialized int a[n][n]={}; ^ Main.cc:15:13: error: 'c' was not declared in this scope c+a[i][j]; ^ Main.cc:24:13: error: 'c' was not declared in this scope c+a[i][j]; ^