forward references in typedefs (puzzling)
Doug Gwyn
gwyn at smoke.BRL.MIL
Sun Jul 23 20:51:26 AEST 1989
In article <11341 at cit-vax.Caltech.Edu> wen-king at cit-vax.UUCP (Wen-King Su) writes:
-I have often wondered about this. Is it legal? Since pointers for
-different data objects are not required to have the same binary format
-or even storage size, how would a compiler allocate space and initialize
-a pointer of an unknown type?
All pointers-to-structures have the same size, that's how.
More information about the Comp.lang.c
mailing list