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
What is formal argument?
Explain what are multibyte characters?
List some applications of c programming language?
Explain void pointer?
What is the difference between arrays and pointers?
How can I read in an object file and jump to locations in it?
Explain continue keyword in c
Explain how can I remove the trailing spaces from a string?
Explain what does a function declared as pascal do differently?
Why ca not I do something like this?
What is malloc calloc and realloc in c?
Can a variable be both static and volatile in c?
write a program to display all prime numbers
Write a program with dynamically allocation of variable.
What is use of bit field?