Hi,
Trying my hand at recursive functions and found a simple recursive function for factorials and found this online :
I don't understand how this works. When num eventually reaches 1 won't the function return 1 instead of the complete factorial ?![]()
Please Login or Register to view this content.
Thanks,
amphi
Bookmarks