fork download
  1. a[]={0,1,2,3,4};
  2. a[i]=i;
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c:1: error: data definition has no type or storage class
prog.c:1: error: type defaults to ‘int’ in declaration of ‘a’
prog.c:2: error: ‘i’ undeclared here (not in a function)
prog.c:2: error: data definition has no type or storage class
prog.c:2: error: type defaults to ‘int’ in declaration of ‘a’
stdout

Standard output is empty