What is the main use of the function pointer? |
Answer
Function pointers are the only way for "Interept programming". In UNIX all the Interepts are called using function pointers. This is mainly used in system programming.
Answer
its nothing but a pointer to function. which is similar to ptr to a variable, if we are saying ptr to a variable then it will hold address of the variable like that fn. ptr will have the address of the function..
one of the major application of the function pointer is call back function.. i.e callback.
Answer
Pointers to functions/methods/subroutines aka 'Delegates' are frequently used in .NET programming especially in EventHandling, MemberInvoking
First answer by Dghukkeri. Last edit by ComputerJy. Contributor trust: 294 [recommend contributor]. Question popularity: 73 [recommend question]
|
Research your answer: |


