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
Can i use “int” data type to store the value 32768? Why?
Why c is a procedural language?
what are the advantages of a macro over a function?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
Why is c platform dependent?
What is NULL pointer?
Is there a built-in function in C that can be used for sorting data?
What are pragmas and what are they good for?
Differentiate fundamental data types and derived data types in C.
What is a far pointer in c?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What are the primitive data types in c?
How do you construct an increment statement or decrement statement in C?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }