Factorial of N
cout << Fact(3);
return 3*Fact(2);
return 2*Fact(1);
return 1*Fact(0);
return 1;
1 * 1
2 * 1
3 * 2
6
Previous slide
Next slide
Back to first slide
View graphic version