fork download
  1. #include <iostream>
  2.  
  3. extern int a[2][2];
  4. int a[2][2];
  5. extern int **b;
  6. int b[2][2];
  7.  
  8. int main()
  9. {
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:6:11: error: conflicting declaration 'int b [2][2]'
 int b[2][2];
           ^
prog.cpp:5:14: note: previous declaration as 'int** b'
 extern int **b;
              ^
stdout
Standard output is empty