Functions – Yes / No Questions

6. Usually recursion works slower than loops.

A. Yes
B. No

Correct Answer: A. Yes
Advertisement

7. Is it true that too many recursive calls may result into stack overflow?

A. Yes
B. No

Correct Answer: A. Yes
Advertisement

8. In a function two return statements should never occur.

A. Yes
B. No

Correct Answer: B. No
Advertisement

Leave A Comment?