What would you like to do?

What is recursion explain with example?

already exists.

Would you like to merge this question into it?

already exists as an alternate of this question.

Would you like to make it the primary and merge this question into it?

exists and is an alternate of .

Recursion is when a function (procedure) calls itself.

int Fib (int n)
if ((n==1)(n==0))return 1;
else return Fib(n-1) + Fib(n-2);
+ 25 others found this useful
Thanks for the feedback!

Using an example explain what is a URL?

  Answer   a URL is the destination of a webpage and is identifiable by the code you type in to view a webpage, for example www.google.com is the URL code for the Go

Explain the term Recursion with example?

  recursive definition of a function is defined in which the function is defined in terms of itself.here the fuction calls itself repetitively.

Explain normalization with examples?

Normalization is the process of designing a data model to efficiently store data in a database. The end result is that redundant data is eliminated, and only data related to t

What is the purpose of a stack in implementing a recursive procedure Explain?

there is no a prior limit on the depth of nested recursive calls (that a recursive function may call itself any no. of times), we may need to save an arbitrary number of regis

What is encapsulation explain with an example?

  Encapsulation is also known as information hiding, it is to protect data from the client using the classes but still allowing the client to access the data, but not modi

What is persistence in oops explain with example?

The phenomenon where the object outlives the program execution time & exists between execution of a program is known as persistance

What is recursion in c explain with the help of an example?

Recursion is the technique of a function calling itself, rather than iterating through the use of loops. The classic example of a recursive function is the computation of N Fa

Can you explain figures of speech with examples?

List of Figures Of Speech Personification Personification is all about adding a human trait to an inanimate object or an abstraction. For example: The picture in that magazin

What is lvalue explain with example?

left-value: an expression that can be target of assignement. eg: array[x+1]->field = 100; # okay 100 = 200; # NOT okay: not lvalue intvar = 100; # okay (char *)intva

What is np explain with the help of example?

Acrynym fider has 119 meanings for NP which one(s) are you interested in? Nurse Practitioner Nepal National Park Northern Pacific Noun Phrase New Patient No Problem Not Possi