What are advantages and disadvantages of recursive
calling ?
Answer Posted / swapna
advantages ;
recursive functions can be effectively used to solve
problems where the solution is expressed in terms of
applying the same solution.
disadvantages ;
in recursive we must have an if statement somewhere to
force the func. to return without the recursive call being
executed.otherwise the funct. will never return.
Is This Answer Correct ? | 22 Yes | 36 No |
Post New Answer View All Answers
What is the Purpose of 'extern' keyword in a function declaration?
What is structure in c explain with example?
What is the equivalent code of the following statement in WHILE LOOP format?
What is the stack in c?
When we use void main and int main?
Explain is it valid to address one element beyond the end of an array?
What is typedef?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
Explain indirection?
How is = symbol different from == symbol in c programming?
Why cant I open a file by its explicit path?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
I need testPalindrome and removeSpace
#include
regarding pointers concept