Can we say "passing a function pointer as an argument to a function is called as callback function"?
Can we say "passing a function pointer as an argument to a function is called as cal开发者_JS百科lback function"?
That's pretty much the definition of a callback function.
In computer programming, a callback is a reference to executable code, or a piece of executable code, that is passed as an argument to other code.
http://en.wikipedia.org/wiki/Callback_function
精彩评论