Callbacks in C

Function Pointers and Callbacks in C 

By Dibyendu Roy on February 28, 2012 in CodingDevelopers ·

Function pointers are among the most powerful tools in C, but are a bit of a pain during the initial stages of learning. This article demonstrates the basics of function pointers, and how to use them to implement function callbacks in C. C++ takes a slightly different route for callbacks, which is another journey altogether.