What is a callback function?

前端 未结 21 2419
耶瑟儿~
耶瑟儿~ 2020-11-21 23:01

What is a callback function?

21条回答
  •  被撕碎了的回忆
    2020-11-21 23:35

    The simple answer to this question is that a callback function is a function that is called through a function pointer. If you pass the pointer (address) of a function as an argument to another, when that pointer is used to call the function it points to it is said that a call back is made

提交回复
热议问题