What is Nostr?
dave /
npub1tsg…htk4
2023-02-09 22:43:23
in reply to nevent1q…3san

dave on Nostr: Here is an example of a recursive function in C that calculates the factorial of a ...

Here is an example of a recursive function in C that calculates the factorial of a number:

int factorial(int n) {
if (n == 0)
return 1;
else
return (n * factorial(n-1));
}
Author Public Key
npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4