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
Why header file is used in c?
Is a house a shell structure?
What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25
Why main function is special give two reasons?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Write a program to reverse a linked list in c.
Can we use any name in place of argv and argc as command line arguments?
The process of repeatedly running a set of computer instructions until some condition is specifed a) condition b) sequential condition c) global d) iteration
What is a nested formula?
Explain how can I open a file so that other programs can update it at the same time?
What is array of structure in c programming?
What is the advantage of using #define to declare a constant?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What are pointers in C? Give an example where to illustrate their significance.
Write a program to print "hello world" without using a semicolon?