fork download
  1. void foo(int **a)
  2. {
  3. };
  4.  
  5. void main()
  6. {
  7. int x[10][20];
  8. foo(x);
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c:3: error: ISO C does not allow extra ‘;’ outside of a function
prog.c:5: error: return type of ‘main’ is not ‘int’
prog.c: In function ‘main’:
prog.c:8: error: passing argument 1 of ‘foo’ from incompatible pointer type
stdout
Standard output is empty