r/C_Programming • u/yug_jain29 • Jul 10 '26
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
View all comments
1
u/Total-Box-5169 Jul 10 '26
Why would you want to nerf yourself like that? Learn how to do it with recursion and without recursion. There are other concepts that you need to learn that take for granted that you understand recursion, so skipping it is a bad idea.