static versus auto initialization

Wade Guthrie evil at arcturus.UUCP
Fri Jan 20 04:35:54 AEST 1989


>         main {
>             auto char abc_auto [5] = { 'a', 'b', 'c' };
>         }

Am I missing something, or is it illegal to initialize automatic
arrays?  It used to be under K&R C.


Wade Guthrie
evil at arcturus.UUCP
Rockwell International
Anaheim, CA

(Rockwell doesn't necessarily believe / stand by what I'm saying; how could
they when *I* don't even know what I'm talking about???)



More information about the Comp.lang.c mailing list