Question Related to pointers in c.
What is diffrence between Function pointer %26amp; pointer function?
May be, if you clearify the question more ...i would have been able to help ya.....because as far as i know, there are no such terms in C....there exist terms in C like "pointer to function" and "functions with arguments as pointers" .....so clearify it first.....
Reply:difference bet function pointer and pointer function.
lets say "fp" as function pointer and "pf" as pointer function
"fp" is a pointer- it is pointing to some function say f(x)
"pf" is not a pointer- rather it is a function which describes the nature of a pointer. now why should we call this function as "pf"? why cant we just call it as "function" ??-bcoz this function will ultimately act as a pointer.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment