Q.

Which of these is false about recursion?

A. recursive function can be replaced by a non-recursive function
B. recursive functions usually take more memory space than non-recursive function
C. recursive functions run faster than non- recursive function
D. recursion makes programs easier to understand
Answer» C. recursive functions run faster than non- recursive function
Explanation: the speed of a program using recursion is slower than the speed of its non- recursive equivalent.
2.7k
0
Do you find this helpful?
34

Discussion

No comments yet