answersLogoWhite

0

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.

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: What is the difference between function and recursive function?
Write your answer...
Submit
Still have questions?
magnify glass
imp