Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what are the advantage and disadvantage of recursion

Answer Posted / satyabrata nayak

Recursion will be useful when same kind of job has to be
continued for a finite no input or time.

Eg: calculating series, finding factorial etc..

Disadvantage would be,
1.Hard to analyse or understand the code.
2.If the recursive function is called for infinite no of
times and memory constrains are not taken care, then stack
overflow may occur So system may crash.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does c value mean?

1206


Write a C program in Fibonacci series.

1095


What is the difference between printf and scanf )?

1105


What are enums in c?

1212


how many key words availabel in c a) 28 b) 31 c) 32

1084


What do the functions atoi(), itoa() and gcvt() do?

1197


Where are some collections of useful code fragments and examples?

1165


What are the 5 types of organizational structures?

1085


Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?

1056


What is the use of getch ()?

1077


What is the difference between array and linked list in c?

1164


Write a code to generate divisors of an integer?

1074


What is the role of this pointer?

1077


write a program fibonacci series and palindrome program in c

1052


How can I open files mentioned on the command line, and parse option flags?

1074