fork download
  1. int main(void)
  2. {
  3. int a[10];
  4. (void*)a + 1;
  5. }
  6.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:4:14: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
     (void*)a + 1;
              ^
prog.c:4:5: error: statement with no effect [-Werror=unused-value]
     (void*)a + 1;
     ^
cc1: all warnings being treated as errors
stdout
Standard output is empty