Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of call back function in c?tell me with
example

Answer Posted / kapil sharma

callback function as the name suggest is basically a
function which gets called at the run time. it is a
reference to the executable code or a part of executable
code which is passed as an argument to another function.
for e.g if we want to forcefully terminate a program but if
there is some essential data which will get lost if program
gets terminated instantly.in that case writing a callback is
always a good deal.
---before writing a callback function you must have
knowledge of function pointers.

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a header file?

1039


Differentiate between a for loop and a while loop? What are it uses?

1142


How can my program discover the complete pathname to the executable from which it was invoked?

1039


What is enumerated data type in c?

1040


If I have a char * variable pointing to the name of a function ..

1137


Can i use “int” data type to store the value 32768? Why?

1151


Can a pointer point to null?

1033


What is #pragma statements?

1060


Write a program to display all the prime nos from 1 to 1000000, your code should not take time more than a minute to display all the nos.

2020


How many main () function we can have in a project?

1073


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1786


can anyone please tell about the nested interrupts?

2076


What’s the special use of UNIONS?

1116


Find MAXIMUM of three distinct integers using a single C statement

1016


Why do we use c for the speed of light?

1115