What is function pointer and where we will use it
Answer Posted / bsreddi
A function pointer is a type of pointer in C, C++ and other
C-like programming languages. When dereferenced, a function
pointer invokes a function, passing it zero or more
arguments just like a normal function. In programming
languages like C, function pointers can be used to simplify
code, such as replacing large switch statements.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
What is array in c with example?
What is #define used for in c?
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
If fflush wont work, what can I use to flush input?
What is time null in c?
What does the c in ctime mean?
Why clrscr is used in c?
Explain what are compound statements?
what does static variable mean?
What is variable in c example?
What does sizeof function do?
What is the difference between struct and typedef struct in c?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is the value of c?
Dont ansi function prototypes render lint obsolete?