Bug in new K&R?

Chris Torek chris at mimsy.UUCP
Sat May 7 23:51:56 AEST 1988


In article <44200009 at uicsrd.csrd.uiuc.edu> mcdaniel at uicsrd.csrd.uiuc.edu asks:
>Are those two casts portable---is it guaranteed that "void *" and
>"char *" have the same internal representation?

It is so guaranteed, according to the most recent public draft
review standard.

In the dpANS, `void *' is simply a notational convenience for
`char * but_never_complain_about_mixed_pointer_types'.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.lang.c mailing list