Hello Eric,

Eric Blake writes:
> Ralf Wildenhues writes:
> 
> > > -  int number[3];
> > > +  int number[3] = {0};
> > 
> > this which won't initialize number[2].
> 
> Yes it will.  The C standard requires that all unspecified array members be 0-
> initialized if at least the first array member is explicitly initialized:

My bad.  Learnt something new, thanks!

Cheers,
Ralf





_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches

Reply via email to