fork download
  1. #include <stdio.h> a comment
  2.  
  3. #ifndef X another comment
  4. #error X not defined!
  5. #endif
  6.  
  7. int main(void) {
  8. // your code goes here
  9. return 0;
  10. }
  11.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:20: warning: extra tokens at end of #include directive
 #include <stdio.h> a comment
                    ^
prog.c:3:11: warning: extra tokens at end of #ifndef directive
 #ifndef X another comment
           ^~~~~~~
prog.c:4:4: error: #error X not defined!
   #error X not defined!
    ^~~~~
stdout
Standard output is empty