Answer Posted / sanjay bhosale
function pointer is simply a pointer which holds the address of the function so we can call that function by using pointer.
It is helpful in situations where we are required to pass the function pointer as parameter to some previously defined functions.
for e.g.
in comparison method we may pass function pointer for function which will compare 2 items/objects and help to comparison method.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the ANSI C Standard?
What is the significance of c program algorithms?
What does 3 periods mean in texting?
What is external variable in c?
Do pointers store the address of value or the actual value of a variable?
What does it mean when a pointer is used in an if statement?
write a program to copy the string using switch case?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
What does c mean in basketball?
What is clrscr in c?
why return type of main is not necessary in linux
How can I implement sets or arrays of bits?
Explain how can I avoid the abort, retry, fail messages?
what are bit fields in c?
What is a union?