1
1230987za
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?
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?