Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: Help, page 197 K&R !!! Message-ID: <10481@smoke.BRL.MIL> Date: 2 Jul 89 03:25:01 GMT References: <646@kl-cs.UUCP> <648@kl-cs.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article cline@sun.soe.clarkson.edu (Marshall Cline) writes: > { char *p; > p->squiggle = 3; /* implicit cast of "p" to "(worm_t *)p" */ I don't think that was ever allowed; some older C compilers did permit pointers to one structure type to be used to access members of another structure type, but that's as weird as I recall it getting.