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...

1)what are limitations for recursive function?
2)write a program to read a text file and count the number of characters in the text file

Answer Posted / mubin ahmed shaik

Limitations of Recursive Approach:
1. Recursive solutions may involve extensive overhead because they use function calls. Each function call requires push of return memory address, parameters, returned result,etc. and every function return requires that many pops.
2. Each time you call a function you use up some of your memory allocation may be in stack or heap. If there are large number of recursive calls – then you may run out of memory.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different file extensions involved when programming in C?

1340


write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a

2005


my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?

1644


What is the difference between #include and #include 'file' ?

1115


What is wrong in this statement? scanf(“%d”,whatnumber);

1285


What are called c variables?

1124


What is the use of parallelize in spark?

1064


What is the significance of scope resolution operator?

1453


Are the variables argc and argv are always local to main?

1077


What are the 5 elements of structure?

1127


When is a void pointer used?

1302


‎How to define structures? · ‎

1144


Write a program to identify if a given binary tree is balanced or not.

1228


What is int main () in c?

1126


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

2243