|
|
 |
 |
 |
 |
pointers?
What is exactly diffrence between function to pointer and pointer to function?
Shraddha <shraddhajosh @gmail.com> writes: > What is exactly diffrence between function to pointer and pointer to > function? A pointer to a function can be called using the () operator. There is no such thing as a function to a pointer; it is not a meaningful phrase. -- Comp-sci PhD expected before end of 2007 Seeking industrial or academic position *outside California* in 2008
In article <1180240685.495120.94@z28g2000prd.googlegroups.com>, Shraddha <shraddhajosh @gmail.com> wrote: >What is exactly diffrence between function to pointer and pointer to >function? "function to pointer" is not a term used in C. -- If you lie to the compiler, it will get its revenge. -- Henry Spencer
Shraddha wrote: > What is exactly diffrence between function to pointer and pointer to > function?
What's a "function to pointer"? Have you an example to show? -- MultiScope Hedgehog A rock is not a fact. A rock is a rock.
"Shraddha" <shraddhajosh @gmail.com> wrote in message news:1180240685.495120.94540@z28g2000prd.googlegroups.com... > What is exactly diffrence between function to pointer and pointer to > function?
"function pointer" is the term used for a pointer to a function, i.e. a variable which holds the address of a function and can be used to call it indirectly. "function to pointer" isn't a term I've heard. Maybe it refers to the act of setting a function pointer to a value, by writing fptr = foo; fptr is the pointer, foo the name of the function. -- Free games and programming goodies. http://www.personal.leeds.ac.uk/~bgy1mm |
 |
 |
 |
 |
|