what is the advantage of function pointer

Answer Posted / mahend

Function pointers are very important while implementing
Callback in C, for instance if Software has layered
archiecture, Function pointer are used bye upper layer to
register with below layer on certain conditions (i.e. some
event or interrupt)

Is This Answer Correct ?    72 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between new and malloc(), delete and free() ?

776


What is this pointer in c plus plus?

697


Do you have any idea how to compare array with pointer in c?

712


What is the use of a conditional inclusion statement in C?

709


What is the difference between NULL and NUL?

856






What are the 5 types of inheritance in c ++?

675


What is d scanf?

676


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1521


Explain what are binary trees?

704


How can I read a binary data file properly?

711


string reverse using recursion

1915


Where are the auto variables stored?

731


a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above

991


what is uses of .net

1361


What is the benefit of using an enum rather than a #define constant?

766