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 do header files do?
What is clrscr ()?
What is volatile variable how do you declare it?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
Which control loop is recommended if you have to execute set of statements for fixed number of times?
What is the difference between ++a and a++?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
Write a C program to count the number of email on text
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
What are the key features in c programming language?
In C language what is a 'dangling pointer'?
Write a C program in Fibonacci series.
Differentiate between new and malloc(), delete and free() ?
what type of questions arrive in interview over c programming?