recursion - What does exit(0) do inside a recursive function? -
is there way exit programme within resursive function ? if there way, happen if exit ? exit(0) in recursive function ?
exit(0)
always* create entire application exit (with status code of 0). whether you're calling recursive function or not irrelevant — it's different return
.
*: well, always; there few crazy situations won't, that's besides point
recursion
No comments:
Post a Comment