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 are the advantages of a macro over a function?
What are the loops in c?
What is #line?
What is register variable in c language?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
How can I rethow can I return a sequence of random numbers which dont repeat at all?
What is the difference between near, far and huge pointers?
how to find anagram without using string functions using only loops in c programming
Should I learn c before c++?
What is the use of header?
When is a null pointer used?
What are the properties of union in c?
When can a far pointer be used?
What is the difference between the expression “++a” and “a++”?
What is pointer to pointer in c language?