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

Explain Function Pointer?

681


What are variables c?

614


What do you mean by c what are the main characteristics of c language?

566


What is the meaning of && in c?

548


Explain spaghetti programming?

682






How can I run c program?

680


Explain the term printf() and scanf() used in c language?

593


Explain null pointer.

619


Is it valid to address one element beyond the end of an array?

673


What is meant by type casting?

624


What are the types of macro formats?

603


What does emoji p mean?

597


What is array of pointers to string?

566


Describe newline escape sequence with a sample program?

654


Can you please explain the difference between exit() and _exit() function?

587