0
Whats the need of recursive function in C? Where do we need it except factorial count? Any real example?
4 ответов
+ 2
When you need to display contents of a folder, including it's subfolders.
A lot tree operations are recursive as branch of a tree is also a tree.
+ 1
I don't think it's used that often, it's just that some tasks are much simpler to do with recursion than with loops.
0
How often is it used in C ? It's really confusing
0
I see , thanks a lot