fork download
  1. #include <stdio.h>
  2.  
  3. void main(void) {printf("#include <stdio.h>
  4.  
  5. void main(void) {printf(\"%s\", \"%s\");}", "#include <stdio.h>
  6.  
  7. void main(void) {printf(\"%s\", \"%s\");}");}
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: return type of ‘main’ is not ‘int’
prog.c:3:25: error: missing terminating " character
prog.c: In function ‘main’:
prog.c:3: error: missing terminating " character
prog.c:5: error: expected expression before ‘void’
prog.c:5: error: stray ‘\’ in program
prog.c:5:45: error: missing terminating " character
prog.c:5: error: missing terminating " character
prog.c:7: error: stray ‘\’ in program
prog.c:7: error: format not a string literal and no format arguments
prog.c:7: error: expected declaration or statement at end of input
stdout
Standard output is empty