What are advantages and disadvantages of recursive
calling ?

Answer Posted / rahul

advantage:using recursion we can avoid unnecessary callingof
functions.
disadvantage:recursive calling increase the space complexity.

Is This Answer Correct ?    45 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why c is known as a mother language?

627


What is Dynamic memory allocation in C? Name the dynamic allocation functions.

542


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3971


How can I invoke another program or command and trap its output?

602


What is c method?

524






Why c is called top down?

615


explain what is an endless loop?

600


When would you use a pointer to a function?

576


How many header files are in c?

539


Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

587


What are variables and it what way is it different from constants?

769


What is the difference between #include

and #include “header file”?

540


What is the use of putchar function?

642


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

2208


What is unsigned int in c?

545