What are advantages and disadvantages of recursive
calling ?
Answer Posted / anonymous
Advantage :
Recursion is used to divide the problem into same problem
of subtypes and hence replaces complex nesting code.
Disadvantage :
Recursion takes a lot of stack space, usually not
considerable when the program is small and running on a PC.
It is very hard to debug or extend the functionality in
case of recursive logic.
| Is This Answer Correct ? | 66 Yes | 8 No |
Post New Answer View All Answers
Apart from dennis ritchie who the other person who contributed in design of c language.
What is return type in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is the use of c language in real life?
using only #include
What is #include stdlib h?
What is a protocol in c?
explain what is fifo?
please send me the code for multiplying sparse matrix using c
what type of questions arrive in interview over c programming?
How can I implement a delay, or time a users response, with sub-second resolution?
Explain what are linked list?
What is a sequential access file?
Can we add pointers together?
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?