Created
June 3, 2020 08:53
-
-
Save bhaveshmunot1/f8b3d6757c3f072d0f10abba9e710cd2 to your computer and use it in GitHub Desktop.
Two variations of finding factorial of 3.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int main() { | |
int non_recursive_factorial_3 = factorial3(); | |
int recursive_factorial_3 = factorial(3); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment