#include <stdio.h> int main(void) {:#include <stdio.h>int main(){printf("%d",value(5))}int value(int x){if(x<1)return x;else{ if(x%2==0) return value(x-1); else return x*value(x-1);}} return 0;}
Standard input is empty
prog.c: In function 'main': prog.c:4:1: error: expected expression before ':' token :#include <stdio.h>int main(){printf("%d",value(5))} ^ prog.c:4:2: error: stray '#' in program :#include <stdio.h>int main(){printf("%d",value(5))} ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!