What is function pointer and where we will use it
Answer Posted / raghanna
A function pointer is a variable that stores the address of a function that can later be called through that function pointer. This is useful because functions encapsulate behavior. For instance, every time you need a particular behavior such as drawing a line, instead of writing out a bunch of code, all you need to do is call the function.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Are pointers integers in c?
Why is c called c not d or e?
What is the condition that is applied with ?: Operator?
What are the different file extensions involved when programming in C?
List the difference between a While & Do While loops?
What does 2n 4c mean?
What are Macros? What are its advantages and disadvantages?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.
What are the different types of control structures?
What does typeof return in c?
Explain a file operation in C with an example.
Explain what is the general form of a c program?
What is the use of ?: Operator?
How can I do peek and poke in c?