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
What is assignment operator?
Why c is called procedure oriented language?
while initialization of array why we use a[][2] why not a[2][]...?
Explain how can a program be made to print the line number where an error occurs?
What is the scope of local variable in c?
What are variables c?
Explain what will the preprocessor do for a program?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
Is that possible to store 32768 in an int data type variable?
Is c pass by value or reference?
How can I read/write structures from/to data files?
Dont ansi function prototypes render lint obsolete?
Are global variables static in c?
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
what will be maximum number of comparisons when number of elements are given?