Vidyalelo
Python · Q43

Functions in Python

Programming · Python · question 43

Q43

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

A.
Program gets into an infinite loop
Answer
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: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board