#include <stdio.h> void main() { static int var = 5; if(var) main(); } int main(void) { // your code goes here return 0; }
Standard input is empty
prog.c:2:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^~~~ prog.c:9:5: error: conflicting types for ‘main’ int main(void) { ^~~~ prog.c:2:6: note: previous definition of ‘main’ was here void main() ^~~~
Standard output is empty