Main.cc: In function 'int main()': Main.cc:11:14: error: 'b' was not declared in this scope b[i][(j+m)%n]=a[i][j]; ^ Main.cc:18:29: error: 'b' was not declared in this scope cout<