develooper Front page | perl.perl5.porters | Postings from January 2001

Re: One more patch for UTF8

Thread Previous | Thread Next
Mark-Jason Dominus
January 9, 2001 15:36
Re: One more patch for UTF8
Message ID:

Tony Cook says:
> If you have initializers for an aggregate type, but not for
> all elements of the aggregate, then those elements you didn't explicitly
> initialize are initialized implicitly as if they were static (ie. to
> zero).
> See Initializers in C99 (I don't have my C90 standard on-hand, though it
> applied there too. I'm 99% sure it's true for K&R C too.)

K&R 2 page 219 says:

        If the array has fixed size, ... if there are fewer
        [initializers], the trailing members are initialized with 0.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About