Address of a constant

Paul Schauble Schauble at MIT-MULTICS.ARPA
Thu May 22 06:08:28 AEST 1986


Karl Heuer asks:

> Does &5 point to a char, short, unsigned, int, or long?

Is 5 a char, short, unsigned, int, or long?  Whichever it is, that's
what &5 points at.  If &5 works, I would also expect &'', &5L, &5U, and
so on, to work.

Seriously, though, this is useful but it doesn't have a prayer of making
it into the standard.  The committee is supposed to standardize the
existing language, not add features.

Paul



More information about the Comp.lang.c mailing list