Ask Question
3 November, 08:08

Give the difference betewen recursion and interation in C. Sight what are the advantages and their disadvantages?

+1
Answers (1)
  1. 3 November, 09:27
    0
    I believe you mean iteration. Recursion is when you have a function that calls or uses it's self. it's advantageous because it reduces the amount of code but can fall victim to an endless loop. Iteration is using a while loop or any kind of loop to iterate through a data set normally an array, iteration allows you to do an action for every iterated item but a downside is that it takes a long time to iterate and it is not efficient
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Give the difference betewen recursion and interation in C. Sight what are the advantages and their disadvantages? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers