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
Explain is it valid to address one element beyond the end of an array?
Explain is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Compare and contrast compilers from interpreters.
Why does notstrcat(string, "!");Work?
What is the difference between ++a and a++?
What are local static variables? How can you use them?
Why is c still so popular?
What is structure padding and packing in c?
Why is c so powerful?
What is ctrl c called?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
Is c++ based on c?
What 'lex' does?
What is c variable?
What is realloc in c?