Introduction to function pointers in C


Have you ever wondered what a function pointer in C is and how to use them? I have!

I ran into a great introduction to function pointers that I just had to share with you.

By using function pointer you can easily implement a callback function or why not create a dynamic interface by collecting all functions in a struct? This can allow you to have several implementations of the same interface in you application.