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 / vadivelt

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 ?    52 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is variable in c example?

1073


What is ambagious result in C? explain with an example.

2634


What is unsigned int in c?

1001


Write a program to generate random numbers in c?

1097


The difference between printf and fprintf is ?

1287


How was c created?

1062


Explain that why C is procedural?

1143


What does d mean?

1089


What are the characteristics of arrays in c?

1052


What is NULL pointer?

1092


Explain what are linked list?

1044


Which header file is used for clrscr?

1053


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1013


What is signed and unsigned?

1062


What is the difference between c &c++?

1156