Autodesk interview question

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

Interview Answer

Anonymous

22 May 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.