sizeof a struc field
Wm E Davidsen Jr
davidsen at crdos1.crd.ge.COM
Sat Oct 14 06:29:58 AEST 1989
In article <44200027 at uicsrd.csrd.uiuc.edu>, davies at uicsrd.csrd.uiuc.edu writes:
| This whole discussion seems a bit abstract - can anybody cite references
| from the standard or examples of compiler behaviour when confronted
| with something like this?
Better yet, can someone post a method to get the size of a field
without having to create the struct or union which *is*
a. portable
b. readable
Why discuss the virtues of NULL and why it should be special in this
case, assume that even if it works people will flame you for using it,
and let someone prove how smart they are by posting a sloution to the
problem.
--
bill davidsen (davidsen at crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
"The world is filled with fools. They blindly follow their so-called
'reason' in the face of the church and common sense. Any fool can see
that the world is flat!" - anon
More information about the Comp.lang.c
mailing list