C De Recursive Fonksiyon İle Faktöriyel Almak
C deRecursive bir fonksiyon ile faktöriyel hesaplatmak
#include <stdio.h>
int fac(x);
int main(){
printf("%d", fac(4));
}
int fac(x){
if(x==1){
return x;
}
return x * fac(x-1);
}