fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i[1]=1;
  5. i[1]+=1;
  6. printf("%d",a[1]);
  7. return 0;
  8. }
  9.  
Compilation error #stdin compilation error #stdout 0s 2112KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:4:11: error: invalid initializer
  int i[1]=1;
           ^
prog.c:6:16: error: 'a' undeclared (first use in this function)
    printf("%d",a[1]);
                ^
prog.c:6:16: note: each undeclared identifier is reported only once for each function it appears in
stdout
Standard output is empty