Skip to content

Instantly share code, notes, and snippets.

@bhaveshmunot1
Created June 3, 2020 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhaveshmunot1/f8b3d6757c3f072d0f10abba9e710cd2 to your computer and use it in GitHub Desktop.
Save bhaveshmunot1/f8b3d6757c3f072d0f10abba9e710cd2 to your computer and use it in GitHub Desktop.
Two variations of finding factorial of 3.
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