Main.cc: In function 'int main()': Main.cc:11:17: error: incompatible types in assignment of 'int' to 'int [100]' b[j]=a[j][i]; ^