fork download
  1. int main(){
  2. int a=1;
  3. int *p=&a;
  4. int b=2/*p;
  5. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:4:12: error: unterminated comment
prog.c:4:5: error: expected ‘,’ or ‘;’ at end of input
prog.c:4:5: error: expected declaration or statement at end of input
prog.c:4:9: warning: unused variable ‘b’ [-Wunused-variable]
prog.c:3:10: warning: unused variable ‘p’ [-Wunused-variable]
prog.c:4:5: warning: control reaches end of non-void function [-Wreturn-type]
stdout
Standard output is empty