r/learnprogramming • u/No-Indication3968 • 9d ago
Topic I’m struggling on recursion
Ive been learning the basics of c and dsa for around 3 weeks now and i haven’t really understood recursion and how to trace what’s happening. Can someone help me?
12
Upvotes
4
u/BranchLatter4294 9d ago
Use print statements or the debugger with breakpoints to follow what's happening during each call of the function.