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
What do you mean by a local block?
What are the types of i/o functions?
What is the difference between null pointer and wild pointer?
what do you mean by inline function in C?
Is c is a low level language?
What is sizeof int?
How can I access an I o board directly?
What does a function declared as pascal do differently?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
What is a newline escape sequence?
explain what is fifo?
Differentiate between a structure and a union.
What is the purpose of main( ) in c language?
Can a variable be both const and volatile?
What is the difference between abs() and fabs() functions?