1 2 3 4 5 6 7 8 9 10
#include "recursive.h" long factorial(int a) { if (a == 1 || a == 0) return 1; return a * factorial(a - 1); }