static versus auto initialization

Doug Gwyn gwyn at smoke.BRL.MIL
Thu Jan 19 23:01:20 AEST 1989


In article <8901182125.AA06523 at decwrl.dec.com> devine at cookie.dec.com (Bob Devine) writes:
>  For `abc_static', elements [3] and [4] are guarenteed to be zeroed 
>out.  However, for `abc_auto', the same elements are garbage.  

Most C compilers don't support auto aggregate initialization at all.
Whoever added it to your compiler apparently botched it.



More information about the Comp.lang.c mailing list