搜索资源列表
factorial
- 一般来说,任何大于0的正整数n的阶乘等于n与(n-1)的阶乘的积,即n!=n(n-1)!。用(n-1)!的值来表示n!的值其表达式就是一种递归调用,因为一个阶乘的值是以另一个阶乘的值为基础的。 此程序是采用递归调用求正数n的阶乘的程序
recurrence-function-in-KEIL
- 有时候在Keil中函数递归调用时会提示:example.C(153): 警告 C265: function : recursive call to non-reentrant function. 本笔记里是解决方法。- A note for solve the warn "example.C(153): 警告 C265: function : recursive call to non-reentrant function." in KEIl.
A
- 函数的嵌套调用和递归调用,函数的嵌套调用, 求三个数中最大数和最小数的差值。运行结果: 5 -6 15↙ 21 -Nested function calls and recursive calls, nested function calls, find the maximum number of three numbers and the minimum number of difference. The result: 5-6 15 ↙ 21