1.

What happens if the base condition isn’t defined in recursive programs?

A. program gets into an infinite loop
B. program runs once
C. program runs n number of times where n is the argument given to the function
D. an exception is thrown
Answer» B. program runs once


Discussion

No Comment Found