Mail Archives: djgpp/1999/07/07/20:05:30
Anand Singh Bisen wrote:
> i have encountered this in some place and am not able to understand
> this statement :
> void (*f(int , char ))(float);
> can somebody please help me out.
> this is correct believe me and it also works but am not able understand
Someone has already posted the explanation. I'd just like to point out
that for the future, there is an automatic tool to decode this sort of
thing. It's called cdecl and you can get it as cdecl25b.zip in v2apps
You'd see this:
cdecl> explain void (*f(int , char ))(float);
declare f as function (int, char) returning pointer to function (float)
which is very similar to what the other poster said.
nate AT cartsys DOT com
- Raw text -