Hi, On Mon, May 02, 2016 at 04:23:40PM +0500, ???????? ?????????????? wrote: > and, there's no point in having variables uninitialized actually. you > depend on vary strange issues like OS decision to initialize them with NULL > or whatever.
Well, there's a C standard, and that *requires* variables in BSS or DATA segment to be initialized with 0. So if a global (or static local) variable ever ends up uninitialized, it's a C compiler or runtime bug. gert -- USENET is *not* the non-clickable part of WWW! //www.muc.de/~gert/ Gert Doering - Munich, Germany g...@greenie.muc.de fax: +49-89-35655025 g...@net.informatik.tu-muenchen.de
signature.asc
Description: PGP signature