why we need function pointers?

Answer Posted / gajendra

Function Pointers are pointers, i.e. variables, which point to the address of a function. You must keep in mind,
that a running program gets a certain space in the main-memory. Both, the executable compiled program code
and the used variables, are put inside this memory.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

1078


Do you have any idea how to compare array with pointer in c?

846


how could explain about job profile

1675


write a program to find out prime number using sieve case?

1882


Explain what is a static function?

869


What is the benefit of using an enum rather than a #define constant?

961


How is a pointer variable declared?

812


I just typed in this program, and it is acting strangely. Can you see anything wrong with it?

790


What are the types of functions in c?

771


How many main () function we can have in a project?

901


How to draw the flowchart for structure programs?

8991


Are negative numbers true in c?

797


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

902


What are the types of c language?

794


What are local static variables? How can you use them?

874