What are advantages and disadvantages of recursive
calling ?
Answer Posted / swapna
advantages ;
recursive functions can be effectively used to solve
problems where the solution is expressed in terms of
applying the same solution.
disadvantages ;
in recursive we must have an if statement somewhere to
force the func. to return without the recursive call being
executed.otherwise the funct. will never return.
Is This Answer Correct ? | 22 Yes | 36 No |
Post New Answer View All Answers
What is static volatile in c?
Is void a keyword in c?
Explain how can a program be made to print the line number where an error occurs?
what does static variable mean?
What is pointers in c with example?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is the value of a[3] if integer a[] = {5,4,3,2,1}?
How can I write a function analogous to scanf?
What are the disadvantages of external storage class?
What are different storage class specifiers in c?
How do I swap bytes?
What is the use of pragma in embedded c?
Write a program in c to replace any vowel in a string with z?
Explain how do you sort filenames in a directory?
How do I convert a string to all upper or lower case?