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

Without Computer networks, Computers will be half the use. Comment.

2359


What is the function of multilevel pointer in c?

1141


What is union and structure?

1196


How many types of operator or there in c?

1140


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1081


What does the error 'Null Pointer Assignment' mean and what causes this error?

1260


What is the ANSI C Standard?

1334


Is null always equal to 0(zero)?

1098


Is it fine to write void main () or main () in c?

1078


How do you determine whether to use a stream function or a low-level function?

1193


How do you search data in a data file using random access method?

1362


What is #include stdlib h?

1148


Explain the difference between ++u and u++?

1191


How would you rename a function in C?

1091


Do pointers take up memory?

1217