News for hackers. Stuff that matters.
Re:The Infamous Windows “Hello World” Program by gryph0n on Wednesday December 10, 2014 @06:15AM (#8728659)
Forget the Posix/Win32 platforms, function pointers can be easily found in the Standard C library itself. I believe there are atleast 2 functions taking function pointers as parameters:

1.>'qsort' function takes a function pointer to decide how to compare your data in order to sort it, presumably using quick sort.

2.>'signal' function has a Posix origin, but it did manage to make it into the C standard. It takes a function pointer to decide which function to call on getting a particular signal.

There are no comments on this comment yet.