/in/foo.cc: In function 'int main()':
/in/foo.cc:14:7: error: conflicting declaration 'int a'
   14 |   int a;
      |       ^
/in/foo.cc:8:7: note: previous declaration as 'int a [100][100]'
    8 |   int a[100][100];
      |       ^
/in/foo.cc:18:8: error: incompatible types in assignment of 'int' to 'int [100][100]'
   18 |      a=1;
      |        ^
/in/foo.cc:25:8: error: incompatible types in assignment of 'int' to 'int [100][100]'
   25 |      a=2;
      |        ^
/in/foo.cc:29:9: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   29 |   if(a==2){
      |         ^