Expressions in initializers
Doug Gwyn
gwyn at smoke.brl.mil
Tue Mar 5 02:45:22 AEST 1991
In article <760 at ajpo.sei.cmu.edu> rabbieh at ajpo.sei.cmu.edu (Harold Rabbie) writes:
-Here's one for the comp.lang.c.lawyers - K&R 2 says (without explanation)
-that non-constant expressions can be used as initializers only for static
-scalars, not for automatics, and not for aggregates.
That's not what MY copy of K&R2 says, nor is it what the C standard says.
More information about the Comp.lang.c
mailing list