0

What is the difference between recursive function and call back function in C/C++

Can any one clarrify the  call back function?



Category: C & C++

Like it on Facebook, Tweet it or share this question on other bookmarking websites.

0

Hi,


There is a minute difference between these two.


Recursive function means - a function that calls itself continuously until that(one)  condition fails.


There must be one exit condition for recursive function.


For Eg.: Factorial program.


Call Back function - Its same sa that of recursive funcion.


But it can call back according to the user's data, by providing appropriate information for the next execution. I


t may be an infinte loop function also.


In general both are same..


Recursion means calling itself again and again.

Answered


0

go to function
Answered


0

I too confused between both. According to me, Recursive is used to describe Itself and call back function is used for backward function.
Answered


0

Call back function is a goto function which is used backward.
recursion means the function called by itself.
Answered


0

I think,  many members, it seems have confusion in this regard including me. So better to Google search.

Answered


0

Can any one  explain about calll back function?


i am  having confusion that one.


 thanks in advance


 


 

Answered


Please register/login to answer this question.  Click here to login