can anyone pls explain the callback function in c.pls explain how does callback function works.if possible with an example.
can anyone pls explain the callback function in c.pls explain how does callback function works.if possible with an example.
Yes, study how qsort() in stdlib.h works.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
can you pls tell me?
Callbacks are function pointers: The Function Pointer Tutorials - Index
I'm wondering if the original poster is asking about asynchronous type callbacks, such as the completion routine used for Windows ReadFileEx:
ReadFileEx function
FileIOCompletionRoutine callback function
Last edited by rcgldr; 05-18-2015 at 03:42 PM.