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 the c value paradox and how is it explained?

1109


What is a #include preprocessor?

1226


The __________ attribute is used to announce variables based on definitions of columns in a table?

1256


How are variables declared in c?

1151


What does do in c?

1121


What is structure in c definition?

1112


Why & is used in scanf in c?

1150


What are the functions to open and close the file in c language?

1089


What is the argument of a function in c?

1105


What is a char in c?

1042


Can 'this' pointer by used in the constructor?

1136


What is action and transformation in spark?

1231


Does sprintf put null character?

1096


How can I access an I o board directly?

1130


Can true be a variable name in c?

1090