What are Function pointers and what are their uses ? with a simple pseudo code program
Utilisateur anonyme
two uses : used for reactor\callbacks and can be passed as deciding factor if function is ambiguous on what to execute, for example a sort function is ambiguous, until some one tell to sort increasing order or decreasing order, here we can pass a address to function which decides this to the sort function.