[問題] 99台聯大 Recursive

作者: log8074 (羅格)   2012-07-04 11:12:33
請問一下
99年台聯大 計算機概論 第6題
Which of the following statement is TRUE?
Recursive function:
a.often have fewer local variables tha the equivalent nonrecursive routines.
b.generally use while or for statement as their main control structure.
c.are possibel only in langues with static storage allocation.
d.should be used whenever execution speed is critical.
我認為答案是 A
可是感覺D 也對
因為會一直copy function 應該會 critical
不太清楚 recursive function 的 pros and cons
能不能請大大們解答一下 感激不盡!!

Links booklink

Contact Us: admin [ a t ] ucptt.com