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
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What are global variables and how do you declare them?
Why does not c have an exponentiation operator?
Why c is called procedure oriented language?
to find the closest pair
What is the use of a conditional inclusion statement in C?
What is the difference between char array and char pointer?
Why is main function so important?
Can I initialize unions?
How we can insert comments in a c program?
What does *p++ do?
What is maximum size of array in c?
What is the difference between array_name and &array_name?
What is class and object in c?
I have a varargs function which accepts a float parameter?