Ask Question
11 July, 13:06

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

+4
Answers (1)
  1. 11 July, 13:56
    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?
Find an answer to your question ✅ “Give the difference betewen recursion and interation in C. Sight what are the advantages and their disadvantages? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers