what is the advantage of function pointer
Answer Posted / sudeep reddy
function pointers can be used to replace switch/if
statements,to realize late binding(virtual function tables)
or to implement callback function primitives.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is a static function?
What is identifiers in c with examples?
Explain what are header files and explain what are its uses in c programming?
What does do in c?
Explain what are multibyte characters?
Compare interpreters and compilers.
What are data structures in c and how to use them?
What is array in c with example?
Which is better pointer or array?
What is the use of ?: Operator?
Explain the difference between malloc() and calloc() function?
Explain what is dynamic data structure?
What is logical error?
Differentiate between the expression “++a” and “a++”?
What is struct node in c?