CallBack

Why do we say function as Callback?

what does a call back mean?

in simple word .....please explain
Just because I don't like that explanation from Stack Overflow, I'm going to attempt to provide my own.

A Callback function is one that is used by a framework\API, but is unique to the instance of an application. One common place that these are used is when you are relying on some component of the framework\API to receive and interpret a specific event, usually one that is from a non-standard input source such as a message queue or a sensor for example. The callback function is your way of telling the API how you want your program to respond to specific events.
Last edited on
Topic archived. No new replies allowed.