Best Answer

In computer science, a callback is executable code that is passed as an argument to other code. It allows a low level software layer to call a function occurring in a higher level layer. Usually the higher level code first calls a function within the lower level code passing to it a pointer or handle to another function. Then the lower level function in the course of executing may call the passed-in function any number of times to perform some subtask. Another option is that the lower level function registers the passed-in function as a handler that is to be called asynchronously by the lower level at a later time in reaction to something. A callback can be used as a simpler alternative to polymorphism and generic programming, in that the exact behavior of a function can be dynamically determined by passing different (yet compatible) function pointers or handles to the lower level function. This can be a very powerful technique for code reuse.

User Avatar

Wiki User

โˆ™ 2006-04-23 17:09:16
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are callback functions?
Write your answer...
Related questions

How do you write a menu driven programmein c?

Learn how to use callback functions and the answer to the question should be evident.

What is callback?

a callback is when you call someone back !!!

What actors and actresses appeared in The Callback - 2009?

The cast of The Callback - 2009 includes: David Youse

What are the release dates for Callback - 2005 I?

Callback - 2005 I was released on: USA: 1 December 2005 (limited)

What is meant by the term callback in computer programming?

The term callback in computer programming can have more than just one meaning. Mainly the term callback means a code that is an argument to another existing code.

Where to get a callback URL for Facebook?

You do not "get" a callback URL. The callback URL refers to the location of the server that is hosting your application. For instance, MyFBGame might be hosted at Some basic details can be found at

What are the release dates for Callback - 2006?

Callback - 2006 was released on: USA: 9 May 2006 (Cakewalk Film Festival)

How do you call a function in GUI in matlab?


What are the release dates for Callback - 2008?

Callback - 2008 was released on: USA: 1 August 2010 (New York City, New York)

What actors and actresses appeared in The Callback Machine - 2011?

The cast of The Callback Machine - 2011 includes: Amy Ellenberger as Roxie William Mendieta as Teddy

A c program to call a function without using function name?

It can be done via its address, for example: void function (void (*callback)(void)) { (*callback)(); }

When you call your lawyer how come the never callback?


What actors and actresses appeared in Callback - 2006?

The cast of Callback - 2006 includes: Sonny Backus Jim Brucke Billy Ray Brewton Carey Rayburn

What are the release dates for The United Colors of Amani - 2013 KC Callback 1-3?

The United Colors of Amani - 2013 KC Callback 1-3 was released on:USA: 2013The United Colors of Amani - 2013 KC Callback - 1.3 was released on:USA: 2013

What is a callback?

In computer programming, a callback is a mechanism that allows one function (the callback function) to be passed to another function (the callee) via an argument. The callback function may be a (pointer to) function, a function object reference or a llambda expression. The caller can then invoke the callee with different callbacks to obtain different results from the same function. As an example, a sorting algorithm will sort a sequence container in ascending order by default. It achieves this by invoking the less-than operator upon the container's elements to compare them. But if the element's do not have a less-than operator, or the user wants to sort the elements by some other order (such as descending order), they must provide a user-defined callback because the less-than operator is the default callback.

What is ANI Callback?

Automatic Number Identification callback - VOIP technology provided to enable customers to use voip without internet connection calling from conventional landline and mobile devices.

What actors and actresses appeared in Callback - 2010?

The cast of Callback - 2010 includes: Maud Buquet as Grace Behi Djanati Atai as Frida Saul Jephcott as Cj Joseph Wilkins as Felucci

What are the release dates for Becky and Barry The Series - 2011 The Callback 1-5?

Becky and Barry The Series - 2011 The Callback 1-5 was released on: USA: 13 October 2011

When you dial a beeper number what do you do next?

In most cases, you have a choice of either leaving a voice message or a callback number. You leave a message like any other message machine. You can leave a callback number by simply dialing it after the pager answers. The pager will notify the owner that they've received a voice message, else it displays the callback number.

If you want to page this person please press a number- what exactly does that mean on a phone?

If you select this option, you probably will be prompted to provide a callback number. This callback number will then be sent to the person's phone as a special type of SMS message that the cell phone is supposed to interpret as a "callback message". When the phone receives this message, they can usually just hit "Send" on their phone to call that number.

Callback number on blackberry phones?

Please make your question a little more specific.

Where can you get free callback tones for your mobile phone?

i don't think you can get them for free but i actually got a text saying that i can get a free jls callback tone, you have to go to but hurry though! it's only valid until 16th November 2009!

What are the release dates for The Cat - 2011 She's Got a Callback Tone--- Those Are Neat 1-2?

The Cat - 2011 She's Got a Callback Tone--- Those Are Neat 1-2 was released on: USA: 12 June 2011

Whats a callback URL?

A "callback URL" is the web address an API needs to send information for use in a different web site.For example, a web developer is building a web application for use in conjunction with another web service's API (such as Facebook or The application is hosted on the web developer's server, and the other web service stores the callback URL so that it knows where to send information when it is requested by the developer's application.

Did you get a callback for Americas got talent season 4?

Kevin Skinner won. Acrodunk should have won!!!!