Solution to "A C Puzzle" of 12/12/83
chris at umcp-cs.UUCP
chris at umcp-cs.UUCP
Sun Mar 18 08:41:07 AEST 1984
I'm quite possibly the one who said that there is no "p" for which
"(p)[0]" and "*p" were different, and you're right, pointer to
function makes the former illegal. I just tried giving it to
the 4.1BSD C compiler and it produces a "compiler error" no less!
I wonder if the System V PCC has the same bug (I consider it a bug
when your compiler announces an internal error for bad input).
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci
UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet: chris at umcp-cs ARPA: chris.umcp-cs at CSNet-Relay
More information about the Comp.lang.c
mailing list