prog.c: In function ‘f’:
prog.c:5:9: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
printf("%d ", f(x-2/) + f(x-1 ));
^~~~~~
prog.c:5:9: warning: incompatible implicit declaration of built-in function ‘printf’
prog.c:5:9: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
prog.c:5:32: error: expected expression before ‘)’ token
printf("%d ", f(x-2/) + f(x-1 ));
^
prog.c: At top level:
prog.c:9:6: warning: return type of ‘main’ is not ‘int’ [-Wmain]
void main()
^~~~