> On Feb 25, 2016, at 3:39 PM, Paul Hargrove <[email protected]> wrote:
>
> A "bare" function name (without parens) is the address of the function, which
> can be converted to an int, long, etc.
> So the "rank" identifier can validly refer to the function in this context.
I understand that there's logic behind this. But it's still crazy to me that:
-----
int foo(void) {
int rank;
printf("Value: %d", rank);
}
-----
is ambiguous.
--
Jeff Squyres
[email protected]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/