Because you are not printing anything. Make this change in main() and it will show you the output.
printf("%d",f(5));
OR
int x = f (5);
printf("%d",x);
3rd Apr 2020, 9:24 PM
Avinesh
0
đ đ
Yes
Thank you
3rd Apr 2020, 9:31 PM
Mohamad Alkaleeh
Vous avez souvent des questions comme celle-ci ?
Apprenez de maniĂšre plus efficace, gratuitement :