#include <stdio.h> a comment #ifndef X another comment #error X not defined! #endif int main(void) { // your code goes here return 0; }
Standard input is empty
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!
^~~~~
Standard output is empty