Main.cc: In function 'int main()': Main.cc:19:30: error: expected primary-expression before '}' token for(int j=1;j<=n;j++)} ^ Main.cc:20:18: error: 'i' was not declared in this scope if(a[i][j]=b[i][j]){ ^ Main.cc:20:21: error: 'j' was not declared in this scope if(a[i][j]=b[i][j]){ ^ Main.cc: At global scope: Main.cc:24:5: error: expected declaration before '}' token } ^