Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
150109_RecursividadFactorial
//Title of this code //gcc 4.8.2 #include <stdio.h> long factorial(long n); int main(void) { long n = 5; printf("El factorial de %ld es %ld\n\n", n, factorial(n)); return 0; } long factorial(long n) { if(n == 0) return 1; return n * factorial(n - 1); }
run
|
edit
|
history
|
help
0
A_141125_MenorMayor2
QuickSort
Bool datatype Operation for GCC
Stub Program for Problem 2 HW 2
ques.1
AC_setting_example
11
Spring 2017 Lab 5 v1
base
primeno