[问题] 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