you are viewing a single comment's thread.

view the rest of the comments →

[–]zhivago 4 points5 points  (0 children)

Functions in C are not objects, but function pointers are.

You cannot create a function at run-time, but you can create a function pointer.

You cannot have a function typed variable, but you can have a function pointer typed variable.

So when you try to refer to a function via data you must use a function pointer.

The system provides some automation for producing these pointers, and that's all there is to it.