Type your answer here...
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.
1 Explain listing process with suitable example & Diagram
www.assignmentsclub.com
explain about function call
EXplain the order and unorder lists with suitable example
Recursion is when a function (procedure) calls itself. Example: int Fib (int n) { if ((n==1)(n==0))return 1; else return Fib(n-1) + Fib(n-2); }
Step 1:- select first root node (t), start travelsing left contin
It isn't a question, sorry.
y² = x --> y = ±√x Because there are *two* square roots for any positive number (positive and negative) this will not be a function.
Take for example a skin cell. It is flat. When you go swimming it protects the body like it's function.
The factorial f(n) = n * (n-1) * (n-2) * .. 1. For example factorial 5 (written as 5!) = 5 x 4 x 3 x 2 x 1 = 120. The function below returns the factorial of the parameter n. int factorial( int n) { if (n==1) return 1 else return n* factorial( n-1) ; }
insertional inactivation is basically about the inactive of second marker where the protein cannot be longer produced. the suitable example is pUC19 where the lacZ gene that encoded for beta-galactosidase cannot be longer produced when the foreign gene is inserted in it..