Main.cc: In function 'int main()': Main.cc:14:17: error: 'b' was not declared in this scope b[i][j+m]=a[i][j]; ^ Main.cc:17:17: error: 'b' was not declared in this scope b[i][j+m]=a[i][j]; ^ Main.cc:22:19: error: 'b' was not declared in this scope cout<b[i][j]<<" "; ^