what is the advantage of function pointer
Answer Posted / yogesh
It is useful when you want to send function as argument to
another function.
| Is This Answer Correct ? | 139 Yes | 13 No |
Post New Answer View All Answers
What is the use of getchar() function?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
How can this be legal c?
Why do we write return 0 in c?
What is assignment operator?
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?
Write a function that will take in a phone number and output all possible alphabetical combinations
Is there a built-in function in C that can be used for sorting data?
What is the 'named constructor idiom'?
If null and 0 are equivalent as null pointer constants, which should I use?
How do you define CONSTANT in C?
What is the difference between procedural and declarative language?
What do you mean by c what are the main characteristics of c language?
What is the value of uninitialized variable in c?
Why isn't any of this standardized in c? Any real program has to do some of these things.