answersLogoWhite

0

non recursive function is excuted faster than recrussive

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What is the definition of recursive?

The term recursive refers to the recurrence or repetition.


Write a c program to find GCD of two given integers by using both recursive n non recursive functions?

i love u darling


What describes a recursive sequence A a sequence that has a common difference between terms B a sequence that has a common ratio between terms C a sequence relating a term to one?

A: Un+1 = Un + d is recursive with common difference d.B: Un+1 = Un * r is recursive with common ratio r.C: The definition seems incomplete.A: Un+1 = Un + d is recursive with common difference d.B: Un+1 = Un * r is recursive with common ratio r.C: The definition seems incomplete.A: Un+1 = Un + d is recursive with common difference d.B: Un+1 = Un * r is recursive with common ratio r.C: The definition seems incomplete.A: Un+1 = Un + d is recursive with common difference d.B: Un+1 = Un * r is recursive with common ratio r.C: The definition seems incomplete.


Are all recursive programs non recursive?

None of them is, obviously.


What has the author J C E Dekker written?

J. C. E. Dekker has written: 'Recursive equivalence types' -- subject(s): Recursive functions


Is macro a recursive function?

If you're asking if the c preprocessor supports recursive macros, the answer is no. The preprocessor is single-pass and since the "function" must be defined before it can be referenced, it can not be recursive.


What is the difference between recursive and non recursive program?

A recursive system is one in which the output is dependent on one or more of its past outputs while a non recursive system is one in which the output is independent of any past outputs.e.g feedforward system having no feedback is a non recursive system.


When is it appropriate to use recursion?

In many problems the recursive solution is simple and elegant whereas the non-recursive solution is complex and difficult to code.In these cases the recursive solution can take advantage of the system stack for each function call, whereas in most non-recursive solutions, a stack in which to store data must be explicitly programmed


Can you use main function as a recursive function in C?

Yes


Jntu 2-2 oops through java answers?

write a java program to find factorial using recursive and non recursive


What is the difference between function and recursive function?

I will explain in the easiest way the difference between the function and recursive function in C language. Simple Answer is argument of the function is differ but in the recursive function it is same:) Explanation: Function int function(int,int)// function declaration main() { int n; ...... ...... n=function(a,b); } int function(int c,int d) { ...... ...... ...... } recursive Function: int recursive(int,int)// recursive Function declaration main() { int n; ..... ..... ..... ..... n=recursive(a,b); } int recursive(int a,int b) { ..... .... .... .... } Carefully see, In the recursive Function the function arguments are same.


What is the recursive definition of 8 4 2 1?

8/4/2=1