Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
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