Frage im Vorstellungsgespräch bei Autodesk

What are Function pointers and what are their uses ? with a simple pseudo code program

Antwort im Vorstellungsgespräch

Anonym

22. Mai 2017

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.