Uninitialized externals and statics.
Richard Tobin
richard at aiai.ed.ac.uk
Wed Aug 23 04:35:27 AEST 1989
In article <1786 at crdgw1.crd.ge.com> davidsen at crdos1.UUCP (bill davidsen) writes:
> Although the proposed ANSI standard (3.5.7 line 20) calls for
>initialization to zero, cast to the appropriate type (my paraphrase) for
>arithmetic and pointer types, virtually all implementations initialize
>to zero (without cast) in the absense of explicit initialization.
Are there any well-known machines on which these aren't equivalent, and
on which the "wrong" initialization is done?
-- Richard
--
Richard Tobin, JANET: R.Tobin at uk.ac.ed
AI Applications Institute, ARPA: R.Tobin%uk.ac.ed at nsfnet-relay.ac.uk
Edinburgh University. UUCP: ...!ukc!ed.ac.uk!R.Tobin
More information about the Comp.lang.c
mailing list