Re: what is this declaration?
- From: pete <pfiland@xxxxxxxxxxxxxx>
- Date: Sun, 22 Jun 2008 01:40:24 -0400
1230987za@xxxxxxxxx wrote:
Hi,
I was reading a post about how to learn C programming and someone
mentioned this, *(int f()) in a struct. It is not in any C code, I
guess the guy was showing that there are some tricky part in C.
It does look tricky to me, what does it mean?
Is the following correct?
f is a function; the function returns an integer; this integer is de-
referenced just like a function pointer.
Can someone show me an example usage of such declaration?
It needs more context.
What you've shown is neither a declaration nor an expression
nor any other C construct that I'm familiar with.
--
pete
.
- Prev by Date: Re: concatenate a constant to constant string using macros
- Next by Date: Earn 25 US$ in just 5 minutes . . .
- Previous by thread: Christmas trees
- Next by thread: Re: what is this declaration?
- Index(es):
Relevant Pages
|