+ 8
What is use of recursion in c language
5 Respostas
+ 10
same as in every language: less code for complicated tasks
+ 8
thanks
+ 8
Recursion simply replace looping statements.
+ 3
Recursion when a function call by itself.
and also as #Anna
Recursion simply replace looping statements.
in loop resources and mamory use is more.
but recursion doesn't use more resources and memory.
we use it like in factorial and etc....
+ 1
u can solve u r problem without iterations and through recursion it reaches the code as on base level and then return the occurred result so it is better then iteration