What happens if the base condition isn’t defined in recursive programs?
Posted: Wed Jul 13, 2022 7:45 pm
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
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