Mail Archives: djgpp/1993/06/07/03:55:46
Gal Shalif: "Re: static variable initialization" (Jun 6, 15:28):
> >
> > jih-shin ho: "static variable initialization" (Jun 5, 9:05):
>
> On page 219 of the C Programing Language - Second Edition (ANSI C) it is
> written:
>
> A static object not explicitly initialized is initialized as if it
> (or its members) were assigned the constant 0. The initial value of an
> automatic object not explicitly initialized is undefined.
>
> >
> >
Good thing this came up. Now even I know about those initialized
variables. Thanks. Seems that Brodie & Plauger published their book
``Standard'' C" on Microslop Press for good reasons. :-)
- Raw text -