Can u tell me when will the end of a program is call if in the middle of the program I will call recursively ???
Bablo!
Printable View
Can u tell me when will the end of a program is call if in the middle of the program I will call recursively ???
Bablo!
I'm sorry to say that I didn't understand you. Please elaborate. :confused:
Recusrsive Program Termonate When the Condition Fail.Quote:
Originally Posted by Bablo
In the Mid Reason of Termination can be Wrong Condition.Out of Scope or Some Exceptional Error.that's all
like
Code:if(i==0)
return 0;
else
return (i*func(i-1));
when condition of i==0 your Function terminate at this point