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 / 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 |
What is sparse file?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
HOW DO YOU HANDLE EXCEPTIONS IN C?
Write a C program that reads a series of strings and prints only those ending in "ed"
The program to allow the characters from the input received and send this function to a function check if the characters between letters a to z is a function of y joins as the characters main and output to otherwise return to the original function of the y characters
What is indirection? How many levels of pointers can you have?
define c
What is fflush() function?
What is pointers in c with example?
Why is C language being considered a middle level language?
CopyBits(x,p,n,y) copy n LSBs from y to x starting LSB at 'p'th position.
how to find string length wihtout using c function?