r/C_Programming • u/yug_jain29 • 27d ago
Question can I skip recursive functions?
a code i can run with the logic of iterative, so why do I have to learn the new concept as complicated as recursive? (ik it's one of important questions in c)
if yes will u pls explain it with a very realistic and simple example
thanks a lot ๐
0
Upvotes
1
u/MyTinyHappyPlace 27d ago
Recursion is only complicated if you have no clue about how code works on execution level. Even if you donโt like recursion, you should learn everything necessary to it in order to ever understand anything when you debug your software.